caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Hendrik Boom <hendrik@topoi.pooq.com>
To: caml-list@inria.fr
Subject: Re: [Caml-list] Is this the right place to discuss camlp5?
Date: Mon, 26 Oct 2015 11:18:10 -0400	[thread overview]
Message-ID: <20151026151809.GA23211@topoi.pooq.com> (raw)
In-Reply-To: <E51C5B015DBD1348A1D85763337FB6D9E9FBF49F@Remus.metastack.local>

On Mon, Oct 26, 2015 at 02:27:23PM +0000, David Allsopp wrote:
> Hendrik Boom wrote:
> > On Mon, Oct 26, 2015 at 01:35:45PM +0000, Soegtrop, Michael wrote:
> > > Dear Ocaml Users,
> > >
> > > I just wanted to ask, if this is the right place to discuss camlp5, or
> > if there is a better place. I have a rather bizarre build issue on Cygwin
> > and a fix (well a hack) for it.
> > 
> > Now I've heard about campl5, presumably a successor to campl4, and about
> > ppx, touted as a successor to camlp4.
> 
> In fact, camlp5 is technically the predecessor of camlp4! camlp4 was incompatibly re-worked for OCaml 3.10 (I think it was 3.10, anyway) - Daniel De Rauglaudre, the author of the original camlp4 but at that time not its maintainer, decided to continue development of the original camlp4 but, to avoid creating even more hell in the upgrade to OCaml 3.10, renamed the tool to camlp5. So camlp5 is basically a maintained fork of an older version of camlp4.
> 
> ppx is a much more recent innovation designed to replace most uses of both those tools. Which is at least part of the reason that camlp4 is no longer included in mainline OCaml.
> 
> > What gives here?
> 
> History! And also that converting between camlp4/camlp5/ppx is non-trivial. If doing something new, and you don't need to worry about older OCamls, ppx is the way to go...

How incomptible are they?  I don't expect to be able to use ppx in 
the place of camlp4 on camlp4 code, but is there any difficulty
combining legacy code written using camlp4 with new code written 
using ppx?

-- hendrik

  reply	other threads:[~2015-10-26 15:18 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-26 13:35 Soegtrop, Michael
2015-10-26 13:40 ` Gabriel Scherer
2015-10-26 14:01   ` Soegtrop, Michael
2015-10-26 14:21 ` Hendrik Boom
2015-10-26 14:27   ` David Allsopp
2015-10-26 15:18     ` Hendrik Boom [this message]
2015-10-26 15:30       ` Gabriel Scherer
2015-10-26 23:50         ` [Caml-list] campp{4,5} and ppx Hendrik Boom
2015-10-26 14:29   ` [Caml-list] Is this the right place to discuss camlp5? Ashish Agarwal

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=20151026151809.GA23211@topoi.pooq.com \
    --to=hendrik@topoi.pooq.com \
    --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).