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
[Caml-list] canonical camlp4-suffix?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2001-09-03 (20:26)
From: Markus Mottl <markus@m...>
Subject: Re: [Caml-list] canonical camlp4-suffix?
On Mon, 03 Sep 2001, Frank Atanassow wrote:
> Since you have to know the syntax in question to use camlp4, .p4 and
> .p4i extensions alone are not very useful. I think I used to just call
> them .ml and .mli, but I put a comment at the top of each file with the
> options to pass to ocamlc and camlp4, and sed'd them in my Makefiles.

Sounds flexible, but a bit tricky. It might also slow down the compile
process a bit.

If you already have such a Makefile, I'd be grateful if you could send
it to me so that I can unscrupulously steal whatever seems fitting... 8-)

What does Daniel think? What would be the best way to automate the
application of camlp4?

Markus Mottl

Markus Mottl                                             markus@oefai.at
Austrian Research Institute
for Artificial Intelligence                  http://www.oefai.at/~markus
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr