English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
Re : [Caml-list] Porting camlp4 stuff from 3.09 to 3.10: need help
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2008-04-09 (15:36)
From: Nicolas Pouillard <nicolas.pouillard@g...>
Subject: Re: Re : [Caml-list] Porting camlp4 stuff from 3.09 to 3.10: need help
Excerpts from Loup Vaillant's message of Wed Apr 09 17:29:29 +0200 2008:
> Hello,
> Now, I'm lost in the wiki. Do we have somewhere the 3.10 equivalent of this?
> http://martin.jambon.free.fr/extend-ocaml-syntax.html

The [Pa_float] page is one of them.

[Pa_float]: http://brion.inria.fr/gallium/index.php/Pa_float

> More specifically, I think about the part which deals with extending
> The Ocaml grammar, (adding a "try ... finally" clause).
> The wiki page about syntax extensions:
> http://brion.inria.fr/gallium/index.php/Syntax_extension_tutorial
> Seems to be about creating a new grammar, and then extending it. I
> can't find (or understand) about extending specifically the Ocaml
> (base syntax) grammar.

You're right.

> Finally, do we have some introductory page about the 3.10 camlp4,
> which could be understood by a complete newbie? I know Ocaml's core
> language pretty well, but my camlp4 knowledge is close to nil.

That's  one  more drawback of such a wiki, the presentation is not well suited
for  newcomers.  While waiting something better (and helping to make it happen
if  possible),  starting  by  the first Camlp4 page on the wiki or reading the
old documentation.

Nicolas Pouillard aka Ertai