Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: blue storm <bluestorm.dylc@gmail.com>
To: Andrej Bauer <andrej.bauer@andrej.com>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Parser/lexer for block indented code
Date: Tue, 2 Feb 2010 09:37:37 +0100	[thread overview]
Message-ID: <527cf6bc1002020037w11e0ff0bsac2fd8c6222f84ac@mail.gmail.com> (raw)
In-Reply-To: <7d8707de1002012333g19ccd2b5h3a657efafa7b2e7b@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 738 bytes --]

There is "The Whitespace Thing" :
http://people.csail.mit.edu/mikelin/ocaml+twt/

I have tried to reproduce something similar using Camlp4 twice, the first
time with a ad-hoc grammar reusing as much as the current grammar as
possible, the second with the specific goal of compatibility with the F#
"#light" grammar.
Both projets have reached a "good enough to test and use privately" state,
but I haven't actually made the effort to release them (knowing virutally
nobody would use them anyway, because it's camlp4). In particular, the
"pa_light" attempt never reached full #light compatibility.

If you care, I could clean the up a bit (more than two years of bitrot, then
probably don't even compile anymore) and upload them somewhere.

[-- Attachment #2: Type: text/html, Size: 875 bytes --]

  reply	other threads:[~2010-02-02  8:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-02  7:33 Andrej Bauer
2010-02-02  8:37 ` blue storm [this message]
2010-02-02  8:44 ` [Caml-list] " Yoann Padioleau
2010-02-02  8:48   ` blue storm

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

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

  git send-email \
    --in-reply-to=527cf6bc1002020037w11e0ff0bsac2fd8c6222f84ac@mail.gmail.com \
    --to=bluestorm.dylc@gmail.com \
    --cc=andrej.bauer@andrej.com \
    --cc=caml-list@inria.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox