From mboxrd@z Thu Jan 1 00:00:00 1970 From: Neil Smithline Subject: Re: Google Summer of Code -- 3 Org projects for our first participation! Date: Fri, 4 May 2012 20:19:31 -0400 Message-ID: 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: multipart/alternative; boundary=20cf302d4c36d856b004bf3efee0 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:44035) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQSj7-0001eT-BY for emacs-orgmode@gnu.org; Fri, 04 May 2012 20:19:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SQSj4-0008K4-92 for emacs-orgmode@gnu.org; Fri, 04 May 2012 20:19:56 -0400 Received: from mail-yx0-f169.google.com ([209.85.213.169]:63414) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQSj4-0008Jk-4X for emacs-orgmode@gnu.org; Fri, 04 May 2012 20:19:54 -0400 Received: by yenm8 with SMTP id m8so4073671yen.0 for ; Fri, 04 May 2012 17:19:51 -0700 (PDT) In-Reply-To: <87ipgij2k5.fsf@altern.org> 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 --20cf302d4c36d856b004bf3efee0 Content-Type: text/plain; charset=ISO-8859-1 On Sun, Apr 29, 2012 at 4:22 AM, Bastien wrote: > > One thing to be aware of: there is an ongoing work by Nicolas to write a > parser (see org-element.el in contrib/lisp/ from the git repo). It is > already quite useful -- and used in the new exporters (e.g. org-e-latex.el) > > One nice side-effect of having this parser is that we will be able to > document the syntax of Org files more clearly. Actually, org-element.el > *is* such a description, but we need to make it widely available as a > documentation page (on Worg). > Bastien, 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. Neil PS: I've been looking at Org Mode utilities in various languages and none of them seem to handle any sizable portion of Org Mode to HTML conversion. It seems that there is little for us to use as a starting point. --20cf302d4c36d856b004bf3efee0 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable =A0On Sun, Apr 29, 2012 at 4:22 AM, Bastien <bzg@gnu.org> wrote:=

One thing to be aware of: there is an ongoing work by Nicolas to write a parser (see org-element.el in contrib/lisp/ from the git repo). =A0It is already quite useful -- and used in the new exporters (e.g. org-e-latex.el)=

One nice side-effect of having this parser is that we will be able to
document the syntax of Org files more clearly. =A0Actually, org-element.el<= br> *is* such a description, but we need to make it widely available as a
documentation page (on Worg).

Bastien,=

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 i= s, 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 mak= e 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.

Neil

PS: I've been looking at Org Mode utilities in various = languages and none of them seem to handle any sizable portion of Org Mode t= o HTML conversion. It seems that there is little for us to use as a startin= g point.
--20cf302d4c36d856b004bf3efee0--