Version française
Home     About     Download     Resources     Contact us    
Browse thread
Camlp4s 4.02
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: skaller <skaller@u...>
Subject: Re: [Caml-list] Camlp4s 4.02
On Tue, 2007-07-10 at 10:33 +0200, Daniel de Rauglaudre wrote:
> Hi,
> 
> On Mon, Jul 09, 2007 at 09:28:05PM +1000, skaller wrote:
> 
> > At the very least, Ocaml should be modified to add a new
> > statement/directive such as:
> > 
> > 	syntax fred;;
> 
> This exist ! You can use :
> 
>     #load "fred.cmo";
> 


yes, but it only works in the top level, where it is a burden.
It doesn't work where it is actually needed: batch compilation.

besides .. that command does dynamic loading, which is not
the same as specifying a syntax. For dynamic loading
the syntax is evil: the .cmo should not be required
(it could be native code loading native code .. :)


-- 
John Skaller <skaller at users dot sf dot net>
Felix, successor to C++: http://felix.sf.net