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
Building a parser with Camlp4
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: David Teller <David.Teller@u...>
Subject: Building a parser with Camlp4
     Hi list (Nicolas Pouillard, in particular),

 I'll probably need to rewrite my (not-fully-complete-yet) parser for
JavaScript 2 and I'm considering using Camlp4 as a parser generator for
a completely-non-OCaml target language. Now, before I do that, I have a
few questions in mind:

* What is the power of Camlp4 ? The documentation says LL(1+epsilon) but
the examples look like LL(k) with a possibly large k.

* How do I plug-in a lexer written with ULex ?

* Camlp4 looks relatively slow -- is it much slower than Yacc ?