emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@gnu.org>
To: Neil Smithline <emacs-orgmode@neilsmithline.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Google Summer of Code -- 3 Org projects for our first participation!
Date: Sat, 05 May 2012 07:39:40 +0200	[thread overview]
Message-ID: <87ehqzgp9f.fsf@gnu.org> (raw)
In-Reply-To: <CAH4vb=1CVMaPVRhYC28tJRoDAhQw2kZTua517PvC0Z_WsT=vOQ@mail.gmail.com> (Neil Smithline's message of "Fri, 4 May 2012 20:19:31 -0400")

Hi Neil,

Neil Smithline <emacs-orgmode@neilsmithline.com> 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

  reply	other threads:[~2012-05-05  5:38 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-24  5:55 Google Summer of Code -- 3 Org projects for our first participation! Bastien
2012-04-24  7:17 ` Carsten Dominik
2012-04-24  7:18 ` Ian Barton
2012-04-24  8:12   ` Thorsten
2012-04-26  1:42     ` Neil Smithline
2012-04-26  7:48       ` Thorsten Jolitz
2012-04-28 23:12         ` Neil Smithline
2012-04-26  7:57       ` Bastien
2012-04-28 23:30         ` Neil Smithline
2012-04-29  8:26           ` Bastien
2012-04-29  0:20         ` Neil Smithline
2012-04-29  8:22           ` Bastien
2012-05-05  0:19             ` Neil Smithline
2012-05-05  5:39               ` Bastien [this message]
2012-05-05 10:52                 ` Bernt Hansen
2012-05-05  9:36               ` Nicolas Goaziou
2012-05-04 22:37         ` Neil Smithline
2012-05-04 21:04           ` Eric Schulte
2012-04-24  9:54 ` Rasmus
2012-04-24 19:00   ` Achim Gratz
2012-04-24 23:16     ` Rasmus
2012-04-26  8:19       ` Bastien
2012-04-24 11:29 ` Richard Riley
2012-04-24 14:19   ` Andrew Young
2012-05-08  3:42 ` Neil Smithline
2012-05-08  8:06   ` Thorsten Jolitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ehqzgp9f.fsf@gnu.org \
    --to=bzg@gnu.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=emacs-orgmode@neilsmithline.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).