Browse thread
Building a parser with Camlp4
- David Teller
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ 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 ?
Thanks,
David