Version française
Home     About     Download     Resources     Contact us    
Browse thread
Camlp4 lexers (>= 3.10)
[ 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@f...>
Subject: Re: [Caml-list] Camlp4 lexers (>= 3.10)
O'Leary, John W wrote:
> Does anyone have an example that would show me how to connect my own
> lexer to a Camlp4 parser?
>
> I’ve scoured the wiki (http://brion.inria.fr/gallium/index.php/Camlp4)
> but all the examples there use the ocaml lexer.

CDuce's parser uses a lexer generated by ulex:

http://www.cduce.org/cgi-bin/viewcvs.cgi/cduce/trunk/parser/

(Parser and Ulexer modules)


-- Alain