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
[Caml-list] Genlex - and which parser?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Oliver Bandel <oliver@f...>
Subject: Re: [Caml-list] Genlex - and which parser?
Hello Rémi,

On Mon, 2 Sep 2002, Remi VANICAT wrote:

> Oliver Bandel <> writes:
> > Which parser can be used together with Genlex?
> > Is it ocamlyacc? Or others?
> ocamlyacc goes with ocamllex. parser that goes with Genlex are stream
> parser, describe in chapter 2 of the Camlp4 reference manual and
> chapter 2 of the Camlp4 tutorial

Hmhhh in the campl4-tutorial/-reference they explain an other
Lexer (Plexer). I think it's similar.
Will Genlex not be used? Or is Plexer based on Genlex?

Any way, thanks for your hint.

Some additional words:

In the camlp4-tutorial there is an example for programming a
simple calculator.
I didn't expect to get a working solution/example on page 9
of the tutorial.
That's great!

I have looked for such tools for many years and now I have found it. :)

Again, as I said about OCaml, I can say about Camlp4, that
it's a great piece of work, what the developpers/researchers
have done in providing such a great language and tools.

If I think about how to write such stuff with lex/yacc
in C, and then look at the power of Ocaml wow, then I more
and more see that writing C (and it's followers) are the middle-
ages of programming.


P.S.: I think it's now time to write DSLs. :)

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: