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
parser syntax?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-10-31 (16:11)
From: Oliver Bandel <oliver@f...>
Subject: Re: [Caml-list] parser syntax?
On Mon, Oct 31, 2005 at 07:24:29PM +1300, Jonathan Roewen wrote:
> > Just a guess but should it be piped through camlp4 to get the stream and
> > parser syntax?
> Ohh, is this a change from ocaml 2.x? Is there a script somewhere that
> can almost automatically convert ocaml 2.x syntax to 3.x?

IMHO camlp4 and the compilers could be used in ONE
command. I don't know if camlp4 could invoke the compilers
or the compilers could invoke camlp4 (I think the latter was the case),
but IMHO something like that was possible (at least in older releases).

But I always found this behaviour very strange and
if camlp4 only works as a filter/preprocessor I think this is much more
clear. (Maybe a problem in documentation of these features that I
found it strange.)