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

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Pietro Abate <Pietro.Abate@p...>
Subject: Re: [Caml-list] Custom lexer in Camlp4
Hi,

a while ago I posted an example to replace the camlp4 lexer with a
custom one. Nobody replied to my post. Maybe it was just plain wrong,
but maybe it is worth a look. 

http://groups.google.com/group/fa.caml/browse_thread/thread/e51ee5ef1d837d36/0bd94b4d2e824536?lnk=gst&q=camlp4+and+lexers#

p


On Tue, Jun 24, 2008 at 02:03:19PM +0100, Jeremy Yallop wrote:
> Is there a way to replace the default lexer in Camlp4?  I'd like to use 
> (an extended version of) one of the OCaml grammars, but with a different 
> lexer.
> 
> -- 
> The University of Edinburgh is a charitable body, registered in
> Scotland, with registration number SC005336.
> 
> _______________________________________________
> Caml-list mailing list. Subscription management:
> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
> Archives: http://caml.inria.fr
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs