Hi again.
I have a minimal (?) lexer (attached) working with the grammar below.
For the purpose of this excercise I used ulex. I started with the cduce
lexer and removed all cduce-specific functions. However I'm not enterely
happy.
First I'd like to have another example using ocamllex and not
Hi all,
This question was asked a few weeks ago, and again last week. However I
still don't really get how to proceed. I hope we can cook down a small
example to understand a bit more the camlp4 internals.
Say I want to write a small parser for regexp (or an aritmetic
calculator), but I don't