Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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 <>

> 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.