caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* switching to camlp4 3.10
@ 2007-03-19  2:27 Martin Jambon
  2007-03-19  7:06 ` [Caml-list] " Gabriel Kerneis
  2007-03-19  9:58 ` Nicolas Pouillard
  0 siblings, 2 replies; 5+ messages in thread
From: Martin Jambon @ 2007-03-19  2:27 UTC (permalink / raw)
  To: caml-list

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-03-21  0:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-19  2:27 switching to camlp4 3.10 Martin Jambon
2007-03-19  7:06 ` [Caml-list] " Gabriel Kerneis
2007-03-19  7:07   ` Gabriel Kerneis
2007-03-19  9:58 ` Nicolas Pouillard
2007-03-21  0:29   ` Martin Jambon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).