Browse thread
[Caml-list] ocamllex/yacc and camlp4
[
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: | 2004-06-17 (02:04) |
From: | William Lovas <wlovas@s...> |
Subject: | Re: [Caml-list] ocamllex/yacc and camlp4 |
On Thu, Jun 17, 2004 at 12:48:01AM +0200, Pierre Weis wrote: > In conclusion: pure Camlp4 implementation of ocamllex/ocamlyacc is > still an interesting and challenging progamming task for the next few > years, if you (or someone else) had the will and time to provide two > ``great camlp4 examples'' to the rest of us... Is such a thing even possible? I thought ocamllex/ocamlyacc produced parsers for LALR(1) languages while camlp4 produced parsers for LL(k) languages. These two sets do not bear a subset relation in either direction, so i would think it impossible to completely implement either tool in terms of the other. Have i misunderstood something? cheers, William ------------------- 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