[
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: | 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 <oliver@first.in-berlin.de> 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. Ciao, Oliver P.S.: I think it's now time to write DSLs. :) ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners