emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric Schulte <eric.schulte@gmx.com>
To: Simon Castellan <simon.castellan@iuwt.fr>
Cc: Nicolas Goaziou <n.goaziou@gmail.com>,
	Alan Schmitt <alan.schmitt@polytechnique.org>,
	emacs-orgmode@gnu.org
Subject: Re: mlorg : yet another parser for org-mode (Written in OCaml contained in org-mode files)
Date: Mon, 27 Feb 2012 09:52:48 -0700	[thread overview]
Message-ID: <87d390rzfj.fsf@gmx.com> (raw)
In-Reply-To: <20120227170602.GA12110@ananas> (Simon Castellan's message of "Mon, 27 Feb 2012 18:06:02 +0100")

Simon Castellan <simon.castellan@iuwt.fr> writes:

> On lun. 27/févr. (15:27), Alan Schmitt wrote:
>> On 26 févr. 2012, at 17:41, Simon Castellan wrote:
>> 
>> > 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 scale to a
>> > full application (among other things).
>> 
>> This looks very interesting, and would very much help in the
>> dissemination of org-mode. Have you thought of announcing it on the
>> caml mailing list?
>> 
>> Alan
>
> I have but prefer to wait mlorg to be more complete. This post was meant mainly
> to gather info/document about org's syntax. (But as I said feedbacks welcome.)
>

Hi Simon,

Nicolas Goaziou has been working recently on a new emacs-lisp parser of
Org-mode files, with the goals of
1. standardizing the formal syntax of Org-mode files
2. parsing Org-mode files to a canonical emacs-lisp list-based
   representation in memory (like an Org-mode AST)
3. re-basing the existing Org-mode exporters off of this canonical
   representation

This work is contained in contrib/lisp/org-element.el, which includes a
large amount of useful commentary at the top of the file.  This should
serve as a starting point for learning more about the formal syntax of
Org-mode files (as it is defined).  I think that developing parsers for
this syntax in multiple language should be very useful to ensure that a
usable syntax is developed separate from any particular implementation.

Cheers,

>
> Simon.
>

-- 
Eric Schulte
http://cs.unm.edu/~eschulte/

  reply	other threads:[~2012-02-27 17:30 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-26 16:41 mlorg : yet another parser for org-mode (Written in OCaml contained in org-mode files) Simon Castellan
2012-02-27 14:27 ` Alan Schmitt
2012-02-27 17:06   ` Simon Castellan
2012-02-27 16:52     ` Eric Schulte [this message]
2010-08-01 23:37       ` Simon Castellan
2012-03-01 13:20         ` Nicolas Goaziou
2012-03-01 15:44           ` Simon Castellan
2012-03-01 19:18             ` Nicolas Goaziou
2012-07-04 18:18 ` mlorg : yet another parser for org-mode (Written in OCaml) Simon Castellan

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=87d390rzfj.fsf@gmx.com \
    --to=eric.schulte@gmx.com \
    --cc=alan.schmitt@polytechnique.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=n.goaziou@gmail.com \
    --cc=simon.castellan@iuwt.fr \
    /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).