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
switching to camlp4 3.10
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-03-19 (07:06)
From: Gabriel Kerneis <gabriel.kerneis@e...>
Subject: Re: [Caml-list] switching to camlp4 3.10
Le Sun, 18 Mar 2007 19:27:16 -0700 (PDT), Martin Jambon
<> a écrit :
> 1) Is there a better source of documentation than 

Some examples in the CVS (not much better).

> 2) What is the command for preprocessing a simple syntax extension?
> This used to work:
>    camlp4o pa_extend.cmo q_MLast.cmo pr_o.cmo -loc _loc
I think :
camlp4of -loc _loc
should do the job, or :
camlp4orf -loc _loc
if you prefer the revised syntax.

> Why didn't you change the name of the programs that are not
> compatible with their previous versions (camlp4, camlp4o, ...)?
> It would avoid a number confusions and allow the new camlp4 to
> coexist with the old one.

I agree. Ask Martin.