From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Formal description of Org files Date: Fri, 15 Apr 2011 14:05:55 +0200 Message-ID: <88D992AF-EA32-4B53-878C-FC27A56DE9D9@gmail.com> References: <4213EBED-2EFC-413F-8618-2A594AECEDCF@gmail.com> <4DA807D0.8050207@diplan.de> <71B98092-E488-4521-B545-4C3E4973D29C@agfa.com> Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:38327) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QAhmk-0002X1-V6 for emacs-orgmode@gnu.org; Fri, 15 Apr 2011 08:06:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QAhmj-00026L-V6 for emacs-orgmode@gnu.org; Fri, 15 Apr 2011 08:06:02 -0400 Received: from mail-ew0-f41.google.com ([209.85.215.41]:64756) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QAhmj-00026H-OK for emacs-orgmode@gnu.org; Fri, 15 Apr 2011 08:06:01 -0400 Received: by ewy9 with SMTP id 9so826100ewy.0 for ; Fri, 15 Apr 2011 05:06:00 -0700 (PDT) In-Reply-To: <71B98092-E488-4521-B545-4C3E4973D29C@agfa.com> 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: Peter Frings Cc: Rainer Stengele , emacs-orgmode mailing list 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 = recognized.... >> So would on Org-mode grammar start like this? >=20 >> headline> ::=3D "*"+ >> >> >> <opt-tags> >>=20 >> <opt-todo-keyword> ::=3D <whitespace> <todo-keyword> | =93=94 > <snip> >=20 > Yes, that seems like extended BN. [1] > Good luck with it! You=92ll 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