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: -- (:)
From: Martin Jambon <martin.jambon@e...>
Subject: switching to camlp4 3.10

I started trying to convert my programs so that they support camlp4 3.10.

1) Is there a better source of documentation than

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

What is now the equivalent command, and how are people supposed to find 
this out?

I understand it should be something like:

   camlp4o ... -printer OCaml
   camlp4 -parser OCaml ... -printer OCaml

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.



Martin Jambon