>
> If having a grammer is so hard, then I think I will just use the elisp
> regexp-based parsing implementation as a reference :)


By the way, that's what this guy did in this Ruby gem:

https://github.com/bdewey/org-ruby

Cheers,

- Marcelo.

On Mon, Jul 18, 2011 at 4:02 PM, Marcelo de Moraes Serpa <
celose...@gmail.com> wrote:

> Hey Bastien!
>
> >Can you tell more about what you mean by "grammar"?
>
> I think Nick pretty much nailed down the description of what a grammar
> would be. I'm not well-versed in compiler-theory and my real world
> experience with parsers are limited - I made some pretty hackish parsers in
> the past but none used a grammar or parser-generator, though.
>
> If having a grammer is so hard, then I think I will just use the elisp
> regexp-based parsing implementation as a reference :)
>
> @Eric: I would only need some basic syntax highlighting and tab / space
> handling, as well as folding. I don't mean to implement an online version of
> the org, since the best place to use org will always be emacs ... or not.
> Let's see how it goes, I will keep you guys posted.
>
>
> On Sat, Jul 16, 2011 at 11:56 AM, Bastien <b...@altern.org> wrote:
>
>> Hi Marcelo,
>>
>> Marcelo de Moraes Serpa <celose...@gmail.com> writes:
>>
>> > I'm creating a web app that interacts with orgmode files and allows
>> > you to edit orgmode files on the browser. The edit part is not done.
>>
>> Wow, this would be a really useful tool.  Can't wait to test this!
>>
>> > I'm quite good at Javascript, and I wouldn't mind hacking something
>> > akin to orgmode elisp code and this will be what I'll do if
>> > everything else fails, but wouldn't using a grammar be a cleaner and
>> > more elegant solution?
>>
>> Can you tell more about what you mean by "grammar"?
>>
>> Back in february, at FOSDEM, someone asked for a description of the
>> org-mode format specification.  This is still something that needs to be
>> done.  Any stab at this (on Worg) would be really nice.  You can start
>> anywhere (headlines, TODO keywords, etc.)
>>
>> If the "grammar" needs to be described in a specific format (more than
>> just a formal description of the various syntactic elements of an Org
>> file), let us know.
>>
>> Thanks,
>>
>> --
>>  Bastien
>>
>
>

Reply via email to