From mboxrd@z Thu Jan 1 00:00:00 1970 From: Brian Wightman Subject: Re: [ANN] Org Elements in contrib Date: Tue, 22 Nov 2011 08:02:44 -0600 Message-ID: References: <87ty5xxqbu.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:40019) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RSqw1-0006Ep-54 for emacs-orgmode@gnu.org; Tue, 22 Nov 2011 09:02:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RSqvu-0002jl-SK for emacs-orgmode@gnu.org; Tue, 22 Nov 2011 09:02:53 -0500 Received: from mail-gx0-f169.google.com ([209.85.161.169]:61056) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RSqvu-0002ij-Mv for emacs-orgmode@gnu.org; Tue, 22 Nov 2011 09:02:46 -0500 Received: by ggnq1 with SMTP id q1so296779ggn.0 for ; Tue, 22 Nov 2011 06:02:45 -0800 (PST) In-Reply-To: <87ty5xxqbu.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: Nicolas Goaziou Cc: Org Mode List On Mon, Nov 21, 2011 at 12:50 PM, Nicolas Goaziou wrote: > I've added org-element.el in contrib directory. It is a complete parser > and interpreter for Org syntax. > > While it was written to be extensible, it is also an attempt to > normalize current syntax and provide guidance for its evolution. This is also a good thing (IMO) from the viewpoint of being able to provide external (non-org-mode) parsers for org-mode files. If org-element is the canonical definition of org syntax (not semantics, just syntax), all other parsers must adhere to this or they are in error. A slight evolution of this would be to have this definition defined in the tests, and have org-element, or any other parser, adhere to those tests. Defining a canon for org-mode syntax is, in any form, a big step forward. Brian