Re: [O] GSoC 2012 -- Elisp backend for Ragel

2012-03-29 Thread Achim Gratz
Aurélien Aptel writes: > * I still want to make an Elisp backend for ragel. I understand it > won't be used in org-mode but it's a nice thing to have anyway. I hope > it's not a problem if this part of the project is not directly related > to org-mode. Please don't be discouraged by the discussion

Re: [O] GSoC 2012 -- Elisp backend for Ragel

2012-03-29 Thread Samuel Wales
Can Ragel be written in elisp or in portable C? I had thought that was the idea. -- The Kafka Pandemic: http://thekafkapandemic.blogspot.com

Re: [O] GSoC 2012 -- Elisp backend for Ragel

2012-03-29 Thread Aurélien Aptel
Hi again, I'm going to change my proposal according to what has been said in this discussion. * I still want to make an Elisp backend for ragel. I understand it won't be used in org-mode but it's a nice thing to have anyway. I hope it's not a problem if this part of the project is not directly re

Re: [O] GSoC 2012 -- Elisp backend for Ragel

2012-03-27 Thread Achim Gratz
Aurélien Aptel writes: > Ragel is written in C++ and has no dependency. It depends on having a working C++ compiler (presumably with some list of features / standard conformance). > * every major platform has a C++ compiler Yes, but it may not be installed. Or has the wrong version. Or whatev

Re: [O] GSoC 2012 -- Elisp backend for Ragel

2012-03-27 Thread Bastien
Hi Aurélien, Aurélien Aptel writes: > On Mon, Mar 26, 2012 at 6:01 PM, Bastien wrote: >>> Is it still hand written? If so, I think it's ultimately a bad idea >>> and it should be rewritten using ragel. >> >> I guess that's because you're not fluent in english, but this sounds >> a bit "perempto

Re: [O] GSoC 2012 -- Elisp backend for Ragel

2012-03-27 Thread Aurélien Aptel
On Tue, Mar 27, 2012 at 11:22 PM, Achim Gratz wrote: > It needs yet another tool to fully build org-mode from scratch, which > needs to be installed, bug-free and configured correctly.  Right now all > one really needs to have to build org-mode is a working Emacs (even make > is optional). Ragel

Re: [O] GSoC 2012 -- Elisp backend for Ragel

2012-03-27 Thread Achim Gratz
Aurélien Aptel writes: >>  2) It adds yet more SOUP (software of unknown provenance) to the build >>  process which may then need mitigating against (this is relevant to me, >>  although possibly not to Org-mode). > > You mean it complicates the build process? I'm not sure I understand. It needs

Re: [O] GSoC 2012 -- Elisp backend for Ragel

2012-03-27 Thread Aurélien Aptel
On Mon, Mar 26, 2012 at 6:01 PM, Bastien wrote: >> Is it still hand written? If so, I think it's ultimately a bad idea >> and it should be rewritten using ragel. > > I guess that's because you're not fluent in english, but this sounds > a bit "peremptory".  We are not only interested in code, we a

Re: [O] GSoC 2012 -- Elisp backend for Ragel

2012-03-27 Thread Aurélien Aptel
On Sun, Mar 25, 2012 at 2:52 PM, Martyn Jago wrote: > For the design process I currently use the excellent plantuml library > from within Org-mode (Aurélien, see lisp/ob-plantuml.el for the > Org-babel interface), although have previously used a bespoke > Ruby/Graphviz library of my design, and pr

Re: [O] GSoC 2012 -- Elisp backend for Ragel

2012-03-27 Thread Aurélien Aptel
On Sun, Mar 25, 2012 at 1:40 PM, Nicolas Goaziou wrote: >> If so, I think it's ultimately a bad idea and it should be rewritten >> using ragel. > > It may be. But it allows for flexibility. Org's syntax is evolving, and > I consider org-element.el as a parser, but also as a guidance in that > proc

Re: [O] GSoC 2012 -- Elisp backend for Ragel

2012-03-26 Thread Bastien
Hi Aurélien, Aurélien Aptel writes: > I can be reached via email or irc. I plan on using a DVCS like > Mercurial and publish We use git for org-mode. If you plan to contribute, I suggest you learn the basics of git -- won't be hard, given your skills. Best, -- Bastien

Re: [O] GSoC 2012 -- Elisp backend for Ragel

2012-03-26 Thread Bastien
Hi Aurélien, Aurélien Aptel writes: > Regardless of the org-mode parser, I think I should work on the elisp > backend for ragel which is something that can benefit any elisp > project. Yes -- that would be great. > As for the new org-mode parser, I could not find it on the repo. Could > you po

Re: [O] GSoC 2012 -- Elisp backend for Ragel

2012-03-26 Thread Bastien
Hi Aurélien, thanks for your proposal. Please get in touch with me and Nicolas privately to discuss it more in depth: we are both french, that can help. As an Org maintainer, my priority is to integrate Nicolas parser, not to rewrite it. And Eric's suggestion of documenting the Org syntax thor

Re: [O] GSoC 2012 -- Elisp backend for Ragel

2012-03-25 Thread Martyn Jago
Hi, and welcome Aurélien, Nicolas Goaziou writes: > Hello, > > Aurélien Aptel writes: > >> On Sun, Mar 25, 2012 at 6:17 AM, Rustom Mody wrote: >>> FYI, there is already an elisp Org parser being worked on in development >>> branch of Org mode. It isn't finished yet, but still advanced enough s

Re: [O] GSoC 2012 -- Elisp backend for Ragel

2012-03-25 Thread Nicolas Goaziou
Hello, Aurélien Aptel writes: > On Sun, Mar 25, 2012 at 6:17 AM, Rustom Mody wrote: >> FYI, there is already an elisp Org parser being worked on in development >> branch of Org mode. It isn't finished yet, but still advanced enough so >> a generic exporter could be built upon it. > >> Is there

Re: [O] GSoC 2012 -- Elisp backend for Ragel

2012-03-25 Thread Aurélien Aptel
On Sun, Mar 25, 2012 at 6:17 AM, Rustom Mody wrote: > FYI, there is already an elisp Org parser being worked on in development > branch of Org mode. It isn't finished yet, but still advanced enough so > a generic exporter could be built upon it. > Is there any interest in ignoring it and restart

Re: [O] GSoC 2012 -- Elisp backend for Ragel

2012-03-24 Thread Rustom Mody
Resending this because it seems to not have reached --- I asked Adrian Thurston the author of ragel if he would support help this project. His reply to me is here: Hi Rustom, > > I can certainly help with guidance. I'm about to relocate across much of > canada and so I

Re: [O] GSoC 2012 -- Elisp backend for Ragel

2012-03-24 Thread Rustom Mody
I asked Adrian Thurston the author of ragel if he would support help this project. His reply to me is here: Hi Rustom, I can certainly help with guidance. I'm about to relocate across much of canada and so I won't be able to crack open code very easiliy. Aurélien: my apologies I haven't responde

Re: [O] GSoC 2012 -- Elisp backend for Ragel

2012-03-24 Thread Nicolas Goaziou
Hello, Aurélien Aptel writes: > The objective of the project is to implement an Elisp backend for > Ragel (a "parser generator") in order to replace the slow, complex and > error-prone parsing code in org-mode with fast code generated by Ragel > from a clean and readable grammar. FYI, there is

Re: [O] GSoC 2012 -- Elisp backend for Ragel

2012-03-23 Thread Rustom Mody
On Fri, Mar 23, 2012 at 4:42 PM, Aurélien Aptel wrote: > So, as an experienced org-mode developper you're saying it's very > hard? I should focus on the ragel part in the application and try to > go as far as i can for org-mode then. I still need something I can be > evaluated to for the mid-term

Re: [O] GSoC 2012 -- Elisp backend for Ragel

2012-03-23 Thread Aurélien Aptel
So, as an experienced org-mode developper you're saying it's very hard? I should focus on the ragel part in the application and try to go as far as i can for org-mode then. I still need something I can be evaluated to for the mid-term and final evaluation. Can you be my mentor? If no one can I sho

Re: [O] GSoC 2012 -- Elisp backend for Ragel

2012-03-22 Thread Rustom Mody
Writing a first cut backend for elisp into ragel is probably not a big job. Porting org to that backend is damn ambitious

Re: [O] GSoC 2012 -- Elisp backend for Ragel

2012-03-22 Thread Thorsten
Aurélien Aptel writes: Hi Aurelien, > Here's a draft of my application. I was hoping someone (mentors?) > could help me improve it (suggestion, typo, correction). Keep in mind > English is not my native language. I copied and pasted the Ragel proposal from this email: ,

Re: [O] GSoC 2012 -- Elisp backend for Ragel

2012-03-21 Thread Samuel Wales
Great job. -- The Kafka Pandemic: http://thekafkapandemic.blogspot.com

Re: [O] GSoC 2012 -- Elisp backend for Ragel

2012-03-21 Thread Aurélien Aptel
Oops. Forgot the "Plan" section. I'm not sure about that one. Plan: The project has 2 clearly defined tasks: * implement the backend * replace the old parser I'm still not sure what will take the most time and I'm tempted to just have an almost-working backend as mid-term evaluation, working bac

[O] GSoC 2012 -- Elisp backend for Ragel

2012-03-21 Thread Aurélien Aptel
Hi! I'm currently studying Computer Science at Lyon 1, France and I was interested in writing an elisp backend for ragel to use in org-mode for the Google Summer of Code 2012. I hope GNU will have enough slot for this project because it's the one I would really like doing :) Here's a draft of my