From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: Formal description of Org files Date: Fri, 15 Apr 2011 11:29:02 -0600 Message-ID: <877hav8lup.fsf@gmail.com> References: <4213EBED-2EFC-413F-8618-2A594AECEDCF@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:38991) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QAmpV-0003k6-Sb for emacs-orgmode@gnu.org; Fri, 15 Apr 2011 13:29:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QAmpR-0003iF-MV for emacs-orgmode@gnu.org; Fri, 15 Apr 2011 13:29:13 -0400 Received: from mail-px0-f179.google.com ([209.85.212.179]:58479) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QAmpR-0003i8-EI for emacs-orgmode@gnu.org; Fri, 15 Apr 2011 13:29:09 -0400 Received: by pxi2 with SMTP id 2so1663224pxi.38 for ; Fri, 15 Apr 2011 10:29:08 -0700 (PDT) In-Reply-To: (Wes Hardaker's message of "Fri, 15 Apr 2011 07:20:06 -0700") 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: Wes Hardaker Cc: emacs-orgmode mailing list , Carsten Dominik If one goal of such a formal description of Org-mode would be to parse text Org-mode files into an abstract syntax tree (which is reminiscent of [1] and [2]) then perhaps we should look at parsers which have already been applied to other document languages (e.g. tex, html etc...) or at least support xml output. If such parsers exist and have been widely applied, then maybe they could support the exportation of Org-mode files, or even automate the writing of code for such exporters? Best -- Eric Wes Hardaker writes: >>>>>> On Fri, 15 Apr 2011 09:58:09 +0200, Carsten Dominik > said: > > CD> Unfortunately I did not catch the name of the format description > CD> language that could be used for something, not did I catch the name > CD> of the person who talked to me. > > Another option, besides those mentioned, is probably ABNF. Footnotes: [1] the effort to unify exporting behind a single parser of Org-mode files into an abstract elisp tree [2] http://johnmacfarlane.net/pandoc/, which as I recall has an Org-mode backend -- Eric Schulte http://cs.unm.edu/~eschulte/