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

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Daniel de Rauglaudre <daniel.de_rauglaudre@i...>
Subject: Re: [Caml-list] Custom camlp4 lexers
Hi,

On Sat, Jul 21, 2007 at 08:24:34AM +0100, Jon Harrop wrote:

> IIRC, there was mention before that camlp4 even allows you to specify lexers 
> inline. How is this done and are there any examples?

Perhaps you think of the specific syntax of parsers of character streams ?

I implemented that in camlp5 (previously named camlp4s). See doc at:
   http://pauillac.inria.fr/~ddr/camlp5/doc/html/lexers.html

If interested, camlp5 is downloadable at:
   http://pauillac.inria.fr/~ddr/camlp5/

-- 
Daniel de Rauglaudre
http://pauillac.inria.fr/~ddr/