From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Olaf.Hamann" Subject: Re: Formal description of Org files Date: Wed, 20 Apr 2011 13:57:34 +0200 Message-ID: <4DAECA2E.8030606@gmx.net> 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> <81k4ev5yfz.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:42927) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QCW3Q-0001BC-9f for emacs-orgmode@gnu.org; Wed, 20 Apr 2011 07:58:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QCW3P-00060h-8s for emacs-orgmode@gnu.org; Wed, 20 Apr 2011 07:58:44 -0400 Received: from mailout-de.gmx.net ([213.165.64.23]:47824) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1QCW3O-0005zy-Qu for emacs-orgmode@gnu.org; Wed, 20 Apr 2011 07:58:43 -0400 In-Reply-To: <81k4ev5yfz.fsf@gmail.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: emacs-orgmode@gnu.org If I remember well, the thing with BNF and similar approaches was called 'context free grammar' - and I'm not sure, if this requirement is fullfilled by the org syntax. As I mean to remember is e.g. that Perl could not be declared fully with a context free grammar. As if 'parse an org-file completely into a token stream' is not required by syntax highlighting tools etc, it might be enough to give some regexps or so. Perhaps for use with etags. Perhaps for modifying ecb to extract main elements of an org-file into it's subwindows. Greetings, Olaf