English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
Parser/lexer for block indented code
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2010-02-02 (08:37)
From: blue storm <bluestorm.dylc@g...>
Subject: Re: [Caml-list] Parser/lexer for block indented code
There is "The Whitespace Thing" :

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.