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
[OSR] Standard syntax extensions ?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2008-04-25 (22:25)
From: Mike Lin <mikelin@m...>
Subject: Re: [Caml-list] [OSR] Standard syntax extensions ?
On Thu, Apr 24, 2008 at 11:49 AM, David Teller <David.Teller@univ-orleans.fr>

> camlp5... We're also not discussing original vs. revised syntax vs. twt
> [yet], although if you consider that some extension would be much more
> useful if rendered compatible with one of these syntaxes, please mention
> it.

FWIW, most quickie syntactic sugar extensions that are confined to single
lines of code work seamlessly with twt. I use pa_compr all the time, for
example. I think open_in and try...finally are currently problematic, but if
they do become some kind of de facto standard then I would have no problem
hacking them into this already-badly-hacked preprocessor. In the future,
someone needs to do twt right; it works well enough for me right now that I
have no motivation to do so.