[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Formal description of Org files
From: |
Jambunathan K |
Subject: |
Re: [O] Formal description of Org files |
Date: |
Fri, 15 Apr 2011 20:55:20 +0530 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (windows-nt) |
Carsten Dominik <address@hidden> writes:
> 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.
IF there is a need for a lexer and parser may be one should start with
the parser that is part of cedet.
http://www.emacswiki.org/emacs/HowToSetUpSemanticBovinatorForANewLanguage
Jambunathan K.
> - 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