From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jambunathan K Subject: Re: Formal description of Org files Date: Fri, 15 Apr 2011 20:55:20 +0530 Message-ID: <81k4ev5yfz.fsf@gmail.com> References: <4213EBED-2EFC-413F-8618-2A594AECEDCF@gmail.com> <4DA807D0.8050207@diplan.de> <71B98092-E488-4521-B545-4C3E4973D29C@agfa.com> <88D992AF-EA32-4B53-878C-FC27A56DE9D9@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=gb2312 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:35453) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QAku0-0006ZV-9A for emacs-orgmode@gnu.org; Fri, 15 Apr 2011 11:25:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QAktw-0002Jf-Br for emacs-orgmode@gnu.org; Fri, 15 Apr 2011 11:25:44 -0400 Received: from mail-pw0-f41.google.com ([209.85.160.41]:60717) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QAktw-0002JT-7M for emacs-orgmode@gnu.org; Fri, 15 Apr 2011 11:25:40 -0400 Received: by pwi10 with SMTP id 10so1553615pwi.0 for ; Fri, 15 Apr 2011 08:25:39 -0700 (PDT) In-Reply-To: <88D992AF-EA32-4B53-878C-FC27A56DE9D9@gmail.com> (Carsten Dominik's message of "Fri, 15 Apr 2011 14:05:55 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: emacs-orgmode mailing list , Rainer Stengele Carsten Dominik writes: > On Apr 15, 2011, at 1:50 PM, Peter Frings wrote: > >>=20 >> On 15 Apr 2011, at 12:57, Carsten Dominik wrote: >>=20 >>> On Apr 15, 2011, at 10:54 AM, Rainer Stengele wrote: >>>=20 >>>> Am 15.04.2011 09:58, schrieb Carsten Dominik: >>>>> Hi, >>>>>=20 >>>>> I have a question. >>>>>=20 >>>>> 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. >>=20 >> >>=20 >>>> Hi, >>>>=20 >>>> maybe Backus-Naur was meant? >>>=20 >>> That is very well possible. Sounds like a word I would not have recogn= ized.... >>> So would on Org-mode grammar start like this? >>=20 >>> headline> ::=3D "*"+ >>> >>> >>> <opt-tags> >>>=20 >>> <opt-todo-keyword> ::=3D <whitespace> <todo-keyword> | =A1=B0=A1=B1 >> <snip> >>=20 >> Yes, that seems like extended BN. [1] >> Good luck with it! You=A1=AFll 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 --=20