caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Martin Jambon <martin.jambon@ens-lyon.org>
To: caml-list@inria.fr
Subject: switching to camlp4 3.10
Date: Sun, 18 Mar 2007 19:27:16 -0700 (PDT)	[thread overview]
Message-ID: <Pine.LNX.4.64.0703181911320.3036@droopy> (raw)

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


             reply	other threads:[~2007-03-19  2:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-19  2:27 Martin Jambon [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.64.0703181911320.3036@droopy \
    --to=martin.jambon@ens-lyon.org \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).