[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Formal description of Org files
From: |
Carsten Dominik |
Subject: |
Re: [O] Formal description of Org files |
Date: |
Fri, 15 Apr 2011 14:05:55 +0200 |
On Apr 15, 2011, at 1:50 PM, Peter Frings wrote:
>
> On 15 Apr 2011, at 12:57, Carsten Dominik wrote:
>
>> On Apr 15, 2011, at 10:54 AM, Rainer Stengele wrote:
>>
>>> Am 15.04.2011 09:58, schrieb Carsten Dominik:
>>>> Hi,
>>>>
>>>> I have a question.
>>>>
>>>> At FOSDEM, someone asked me if there was a formal description of the
>>>> structure of Org files, in some language that would be the input for a
>>>> parser (or parser generator?) so that Org file could be easily parsed.
>
> <snip>
>
>>> Hi,
>>>
>>> maybe Backus-Naur was meant?
>>
>> That is very well possible. Sounds like a word I would not have
>> recognized....
>> So would on Org-mode grammar start like this?
>
>> headline> ::= "*"+ <opt-todo-keyword>
>> <opt-priority-cookie>
>> <title>
>> <opt-tags>
>>
>> <opt-todo-keyword> ::= <whitespace> <todo-keyword> | “”
> <snip>
>
> Yes, that seems like extended BN. [1]
> Good luck with it! You’ll need it... :-)
Well, if tis is complicated, I am not going to do this.
But maybe there is a volunteer out there - I'd be happy to
support him or her.
- Carsten
Re: [O] Formal description of Org files, Christian Egli, 2011/04/15
Re: [O] Formal description of Org files, Wes Hardaker, 2011/04/15