From mboxrd@z Thu Jan 1 00:00:00 1970 From: joakim@verona.se Subject: Re: New feature branch: org-xhtml-and-org-odt Date: Wed, 16 Nov 2011 11:01:03 +0100 Message-ID: References: <81lirjdsu3.fsf@gmail.com> <87obwd89ac.fsf@gnu.org> <87zkfw77t0.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:34912) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RQcJD-0000Ml-MT for emacs-orgmode@gnu.org; Wed, 16 Nov 2011 05:01:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RQcJ8-00057G-Lg for emacs-orgmode@gnu.org; Wed, 16 Nov 2011 05:01:35 -0500 Received: from mx2.bahnhof.se ([213.80.101.12]:50373) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RQcJ8-00055m-GY for emacs-orgmode@gnu.org; Wed, 16 Nov 2011 05:01:30 -0500 In-Reply-To: <87zkfw77t0.fsf@gnu.org> (Bastien's message of "Wed, 16 Nov 2011 10:09:15 +0100") 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: Bastien Cc: emacs-orgmode@gnu.org Bastien writes: > Hi Joakim, > > joakim@verona.se writes: > >> Interesting. Is this available in a branch somewhere? Meanwhile I'll >> have a look at org-lparse. > > Not yet. > > org-lparse is a line parser, currently used for the ODT exporter, > and planned to be used for the HTML exporter (which is already based > on line parsing, but does not use an external parser.) > > The parser from Nicolas stores an Org buffer (or region) into a list, > reflecting the structure of all the elements and their properties. > > Maybe you saw the slides I presented at the GNU Hackers meeting, > I presented an sneak preview of an early prototype by Nicolas - see > > http://lumiere.ens.fr/~guerry/emacs-orgmode-gnu-hackers-meeting-2011.html > > See slide 19. > > HTH, Yes, I saw the presentation and the idea seems nice. However it would be nice if the code could be put under public scrutiny regardless of its current state. For instance, Semantic(part of CEDET in the Emacs core) implements on the fly parse tree generators for a number of languages and it also has proof of concept support for emacs outlines, of which org is a descendant. So it would be nice to know if the org parser re-uses Semantic or if it chooses another path. If Semantic was used we could also use SRecode as a template language to implement other formats. I could certainly use it in my application. Even if the new org parser doesn't reuse the parser part of semantic, Wisent, we could probably still hook it into Semantic. Anyway, we are all busy so it would be nice to reduce wasted effort. -- Joakim Verona