English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
Bug in ocamlyacc
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-04-27 (15:56)
From: brogoff <brogoff@s...>
Subject: Re: [Caml-list] Bug in ocamlyacc
On Tue, 24 Apr 2007, Francois Pottier wrote:
> There are at least two reasons why Menhir isn't (yet) shipped with ocaml.
> First, it produces code which is significantly larger than ocamlyacc's
> tables. This might be a problem for some people, so we should add an option to
> produce tables instead of code.

    That would be my preference in terms of prioritization of work for
Menhir, to get it to output table driven code. I tried converting a
decent sized grammar (verilog 95 with some later stuff in it) from
ocamlyacc to menhir a few months ago and it was completely painless,
but I did notice that the compile time and code size for menhir were
much greater.

    I like where it's going, and even though I'm not a huge fan of yacc,
it is quite compatible AND has addressed some deficiencies of yacc. That
is a huge bonus for me.

-- Brian