emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric Schulte <eric.schulte@gmx.com>
To: Thorsten <quintfall@googlemail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Another gsoc idea -- ragel
Date: Fri, 09 Mar 2012 10:04:46 -0700	[thread overview]
Message-ID: <87lin9so29.fsf@gmx.com> (raw)
In-Reply-To: <87eht13h7w.fsf@googlemail.com> (Thorsten's message of "Fri, 09 Mar 2012 16:51:47 +0100")

Thorsten <quintfall@googlemail.com> writes:

> Rustom Mody <rustompmody@gmail.com> writes:
>
>> Ragel http://www.complang.org/ragel/ is a tool that integrates regular
>> expressions and state machines under one umbrella.
>> It has backends currently for C, C++, Objective-C, D, Java and Ruby. 
>> I do not think having an elisp backend would be a very big task.
>>
>> After that (in my estimate) org-mode code would (could) become half as
>> long and twice as fast -- at least those sections that are heavily
>> regex oriented
>
> I took the freedom to add your (slightly modified) proposal to the GSoC
> 2012 ideas page:
> http://orgmode.org/worg/org-contrib/gsoc2012/orgmode-gsoc2012-ideas.html

Perhaps related to this proposal would be a project to formally specify
Org-mode's syntax.  I'm thinking this could be an extension of the truly
remarkable formalization work recently undertaken by Nicolas in support
of his Org-mode AST representation and exporter, but with more of a
focus on specification in such a way as to facilitate developing
Org-mode parsers in other languages, be they Ragel, OCaml [1], VIM [2],
Haskell (e.g., pandoc [3]), or scripting languages to allow exporting
without Emacs (e.g., a replacement for org-ruby [4]) for use at github,
wikis or any website in which Emacs is too large of a dependency.

Cheers,

Footnotes: 
[1]  http://thread.gmane.org/gmane.emacs.orgmode/52736

[2]  http://www.vim.org/scripts/script.php?script_id=3342

[3]  http://johnmacfarlane.net/pandoc/

[4]  http://orgmode.org/worg/org-tutorials/org-ruby.html

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

      reply	other threads:[~2012-03-09 17:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-09 14:54 Another gsoc idea -- ragel Rustom Mody
2012-03-09 15:51 ` Thorsten
2012-03-09 17:04   ` Eric Schulte [this message]

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=87lin9so29.fsf@gmx.com \
    --to=eric.schulte@gmx.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=quintfall@googlemail.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).