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
Using ulex
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-07-03 (21:36)
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