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
my own exceptions from ocamlyacc?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2010-10-11 (20:33)
From: Dario Teixeira <darioteixeira@y...>
Subject: Re: [Caml-list] my own exceptions from ocamlyacc?

> Hmhh, a while ago I tried around with menhir, but did not really used it.
> I have that in mind for cases, when ocamlyacc would become too annoying,
> but at least at the moment I'm fine with ocamlyacc.
> I thought menhir is necessary for more complex grammars;
> don't know if it helps me here.

I find that Menhir's advantages over Ocamlyacc go beyond accepting a
superset of grammars.  For instance, Menhir allows the use EBNF notation,
which makes the grammar productions much simpler and easier to read.
Moreover, Menhir facilities for debugging and 'explaining' the grammar
make it a much friendlier tool for beginners and experts alike.

Dario Teixeira