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
[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: -- (:)
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                                   
Austrian Research Institute
for Artificial Intelligence        
Bug reports:  FAQ:
To unsubscribe, mail  Archives: