From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Formal description of Org files Date: Fri, 15 Apr 2011 14:31:20 -0400 Message-ID: <2970.1302892280@alphaville.americas.hpqcorp.net> References: <4213EBED-2EFC-413F-8618-2A594AECEDCF@gmail.com> <877hav8lup.fsf@gmail.com> Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([140.186.70.92]:42724) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QAnnf-0002oF-TZ for emacs-orgmode@gnu.org; Fri, 15 Apr 2011 14:31:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QAnne-0008Us-Vk for emacs-orgmode@gnu.org; Fri, 15 Apr 2011 14:31:23 -0400 Received: from g4t0015.houston.hp.com ([15.201.24.18]:23175) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QAnne-0008Uo-SU for emacs-orgmode@gnu.org; Fri, 15 Apr 2011 14:31:22 -0400 In-Reply-To: Message from "Eric Schulte" of "Fri, 15 Apr 2011 11:29:02 MDT." <877hav8lup.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: Eric Schulte Cc: emacs-orgmode mailing list , nicholas.dokos@hp.com, Carsten Dominik Eric Schulte wrote: > If one goal of such a formal description of Org-mode would be to parse > text Org-mode files into an abstract syntax tree ... > I think this should be the starting point: what are the goals for all this? Providing a formal description in EBNF is one thing. Preparing an attribute grammar for input into a specific tool is another (and probably an order of magnitude - or two - harder) - what would the resulting parser(s) be used for? Clear(er) answers to these questions should go a long way towards figuring out what specific tool(s) should be used - or whether it's at all necessary to worry about that. Nick