Browse thread
Re: On language extensions (was Re: [Caml-list] global record)
-
Eric Breck
-
skaller
-
Stefano Zacchiroli
- Jean-Marie Gaillourdet
-
Stefano Zacchiroli
- Bünzli_Daniel
-
skaller
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2006-07-20 (08:57) |
From: | Jean-Marie Gaillourdet <jm@g...> |
Subject: | Re: On language extensions (was Re: [Caml-list] global record) |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi all, On 20.07.2006, at 08:29, Stefano Zacchiroli wrote: > Fully agreed. Me myself try to enforce locality of syntax > extensions to > avoid possible clashes. Unfortunately handling that in large > project is > really painful, since you end up in having to differentiate "clusters" > of files which need to be built with different set of camlp4 flags, > and > you need to do that in Makefile. The OCamlMakefile in godi supports syntax extension declarations in the first line of ocaml source. Those declaration are wrapped in OCaml comments. Then make takes care that every single source file is compiled with the appropriate syntax extensions. - -- Jean-Marie -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Darwin) iD8DBQFEv0WONIUNP/I5YOgRAlGIAJ9Fr+vKiTbXCA0AMwvWOOG+wv7j+ACfQOEO O00L8arLwjNmvXRxp76r4Ic= =EkZi -----END PGP SIGNATURE-----