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.

 

Thanks,

--John O’Leary