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

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Alain Frisch <Alain.Frisch@i...>
Subject: Re: [Caml-list] Using ulex
Paul Snively wrote:
> I'm trying to use Alain Frisch's ulex to write a simple .ini file 
> lexer. I'm still pretty new to the module system, how libraries work, 
> and in particular how camlp4 and syntax extensions work. Here are the 
> things I've tried to just get ulex to tell me I'm not being foolish. 
> This is with O'Caml 3.08.3 and findlib 1.0.4 on Mac OS X 10.4.1:

Ulex is not designed to work in the toplevel. (Technical reason: it adds
 some declarations at the beginning of the compilation unit.)

-- Alain