From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Google Summer of Code -- 3 Org projects for our first participation! Date: Sat, 05 May 2012 07:39:40 +0200 Message-ID: <87ehqzgp9f.fsf@gnu.org> References: <8762cpad2q.fsf@gnu.org> <4F9653BD.7030201@wilkesley.net> <87obqh8s6m.fsf@googlemail.com> <4F98A7F0.6080405@neilsmithline.com> <87mx5zrklf.fsf@altern.org> <4F9C8937.2030709@neilsmithline.com> <87ipgij2k5.fsf@altern.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:56894) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQXhh-0005yy-26 for emacs-orgmode@gnu.org; Sat, 05 May 2012 01:38:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SQXhe-0005k4-UT for emacs-orgmode@gnu.org; Sat, 05 May 2012 01:38:48 -0400 Received: from mail-wg0-f49.google.com ([74.125.82.49]:53816) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQXhe-0005f8-Kk for emacs-orgmode@gnu.org; Sat, 05 May 2012 01:38:46 -0400 Received: by wgbds1 with SMTP id ds1so2590762wgb.30 for ; Fri, 04 May 2012 22:38:43 -0700 (PDT) In-Reply-To: (Neil Smithline's message of "Fri, 4 May 2012 20:19:31 -0400") 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: Neil Smithline Cc: emacs-orgmode@gnu.org Hi Neil, Neil Smithline writes: > I've looked at org-element.el and don't really see how it will make > writing other Org Mode to HTML converter easier. org-element.el is, > well it's elisp. Very elispy. No surprise but I'm not sure that it > can easily be converted to another language. > > Is Nicolas working from a grammar? I think an Org Mode grammar will > make writing parsers much easier. Perhaps I'm just old-school but I > think that generating an Org Mode to HTML converter in another > language would be dramatically simplified by an Org Mode grammar > semantic annotations. You're not old-school at all :) Maybe I wasn't explicit enough. 1. There is already a new Org>HTML exporter, written by Jambunathan. Try adding contrib/lisp/ to your load path, then (require 'org-export) (require 'org-e-html) then M-x org-export-dispatch RET h See the result. 2. This new Org>HTML exporter is based on contrib/lisp/org-export.el and contrib/lisp/org-element.el. The latter is responsible for parsing elements of an org-mode buffer based on a clear syntax, the former implements a generic export engine. So yes, things are going into the direction of having a better grammar for Org, Nicolas and Jambunathan already build parsers for LaTeX and HTML using this grammar, and we will implement new parsers that way. Thanks, -- Bastien