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
Custom camlp4 lexers
[ Home ] [ Index: by date | by threads ]
[ Search: ]

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

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:

If interested, camlp5 is downloadable at:

Daniel de Rauglaudre