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] ocamllex/yacc and camlp4
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ 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?


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