Browse thread
switching to camlp4 3.10
- Martin Jambon
[
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: | 2007-03-19 (02:27) |
From: | Martin Jambon <martin.jambon@e...> |
Subject: | switching to camlp4 3.10 |
Hello, I started trying to convert my programs so that they support camlp4 3.10. 1) Is there a better source of documentation than http://gallium.inria.fr/~pouillar/camlp4-changes.html? 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 pa_foo.ml 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 pa_foo.ml or camlp4 -parser OCaml ... -printer OCaml pa_foo.ml 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. Thanks Martin -- Martin Jambon http://martin.jambon.free.fr