caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Richard Jones <rich@annexia.org>
To: Oliver Bandel <oliver@first.in-berlin.de>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Re: camlp4 on Debian lenny
Date: Sun, 21 Dec 2008 16:59:52 +0000	[thread overview]
Message-ID: <20081221165951.GA26758@annexia.org> (raw)
In-Reply-To: <1229867787.494e4b0b81a9a@webmail.in-berlin.de>

On Sun, Dec 21, 2008 at 02:56:27PM +0100, Oliver Bandel wrote:
> But in the case of camlp4 it looks like the bazaar.
> The regularity of the cathedral, as harsh as crisp as
> OCaml's type system I miss in the case of Camlp4. :(

OCaml 3.09        OCaml 3.10        OCaml 3.11 .....
  +                 +                 +
camlp4 -----+---> camlp4 was -----> camlp4 development --> "new" camlp4
             \    rewritten         continues
              \
               \
                \ not everyone agrees with
                  the rewrite, so old camlp4 -----> camlp5
                  development continues as
                  camlp5

All the distributions now ship OCaml, camlp4 and camlp5.  This means
you can continue to compile and use pre-3.10 software which relies on
the old camlp4 (now called camlp5).  Or you can use the new camlp4
which has some nice bits (like Reflective OCaml and the "scrap your
boilerplate" stuff).

The worst thing is the lack of good documentation for camlp4.  The
wiki is a good start (http://brion.inria.fr/gallium/index.php/Camlp4).

I've said it before, there's a good book's worth of material in this
subject.

If you prefer looking at code, then take a look at:

http://code.google.com/p/bitstring/         (camlp4)
http://merjis.com/developers/pgocaml        (camlp4)
http://alain.frisch.fr/soft#openin          (camlp4 & camlp5)
http://martin.jambon.free.fr/micmatch.html  (camlp5 & camlp4)
http://martin.jambon.free.fr/extend-ocaml-syntax.html  (camlp5)

Actually, there's loads more projects here ...
http://caml.inria.fr/cgi-bin/hump.en.cgi?sort=0&browse=92

Rich.

-- 
Richard Jones
Red Hat


  reply	other threads:[~2008-12-21 16:59 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-20 13:12 Oliver Bandel
2008-12-20 13:24 ` Sylvain Le Gall
2008-12-20 13:30   ` [Caml-list] " Oliver Bandel
2008-12-20 14:06     ` Sylvain Le Gall
2008-12-20 17:07       ` [Caml-list] " Oliver Bandel
2008-12-20 17:10         ` Oliver Bandel
2008-12-20 17:11         ` Re : " Matthieu Wipliez
2008-12-20 17:23           ` Oliver Bandel
2008-12-20 17:38           ` Oliver Bandel
2008-12-20 18:00             ` Re : " Matthieu Wipliez
2008-12-20 22:48             ` blue storm
2008-12-21  9:28         ` Sylvain Le Gall
2008-12-21 13:56           ` [Caml-list] " Oliver Bandel
2008-12-21 16:59             ` Richard Jones [this message]
2008-12-21 23:13               ` Oliver Bandel
2008-12-20 13:35 ` [Caml-list] " Stefano Zacchiroli
2008-12-20 13:59   ` Oliver Bandel

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=20081221165951.GA26758@annexia.org \
    --to=rich@annexia.org \
    --cc=caml-list@inria.fr \
    --cc=oliver@first.in-berlin.de \
    /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).