From mboxrd@z Thu Jan  1 00:00:00 1970
From: Simon Castellan <simon.castellan@iuwt.fr>
Subject: mlorg : yet another parser for org-mode (Written in OCaml contained
 in org-mode files)
Date: Sun, 26 Feb 2012 17:41:45 +0100
Message-ID: <20120226164145.GA28270@ananas>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Return-path: <emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org>
Received: from eggs.gnu.org ([208.118.235.92]:45498)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <simon.castellan@iuwt.fr>) id 1S1gEX-0006XR-KO
	for emacs-orgmode@gnu.org; Sun, 26 Feb 2012 10:41:58 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <simon.castellan@iuwt.fr>) id 1S1gEW-0005U1-79
	for emacs-orgmode@gnu.org; Sun, 26 Feb 2012 10:41:57 -0500
Received: from jabiru.ens-lyon.fr ([140.77.51.2]:53396)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <simon.castellan@iuwt.fr>) id 1S1gEW-0005Tg-0j
	for emacs-orgmode@gnu.org; Sun, 26 Feb 2012 10:41:56 -0500
Content-Disposition: inline
List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>,
	<mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/emacs-orgmode>
List-Post: <mailto:emacs-orgmode@gnu.org>
List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>,
	<mailto:emacs-orgmode-request@gnu.org?subject=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: emacs-orgmode@gnu.org

Hello,

I have been writing a parser for mlorg files in OCaml. This started as an
experiment to see if the literate programming mode of org-mode could scal=
e to a
full application (among other things).

The project is at its beginning but can =C2=AB bootstrap =C2=BB itself (t=
hat is parses its
own source and extract the source code), yet the support for the syntax i=
s very
far from being complete.

The goal is also to be able to convert org-mode files to latex/html/... w=
ithout
having the dependancy on emacs. Indeed although org-mode files are just p=
lain
text, there is still a feeling of being locked because this is such a
complicated format and that there doesn't seem to be a reference library =
to deal
with this. I hope that more libraries to do so will appear for one main r=
eason :
to have a standard syntax we can build upon : I think that to know precis=
ely the
syntax understood by org-mode is very difficult : no document about this =
exists
(Or I have found none). When I'm done with the main syntaxic part I will =
try to
document them.

Besides, I think org-mode is wonderful editor but does a terrible job at
exporting : slow, emacs-specific, strange errors on some document, ...

The code can be found on gitorious:
  http://gitorious.org/mlorg/mlorg

For those who would like to compile, you will need the batteries library =
from
git (hope it will be released before mlorg has reached a releasable state=
).

An example of cool feature that I have added in mlorg and that should be =
the
org-mode exporter : org-mode doesn't put location annotations (=C3=A0 la =
cpp) so that
compilers know how to report correct line numbers. This is very helpful w=
hen
compiling quite long files.

The point of this message is mainly to attract people interested in testi=
ng or
even contributing. (I will be very glad : there is so much to do). But I =
hope to
make the org-mode community think about a standardization process of the =
syntax
used in org-mode to ease the work of parsers mainteners. There is no READ=
ME yet,
but the mlorg binary doesn't do much yet and the code should be self-docu=
mented
(I hope so).

Simon.