Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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: -- (:)
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.)