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 (13:50)
From: oliver@f...
Subject: Re: [Caml-list] my own exceptions from ocamlyacc?
On Mon, Oct 11, 2010 at 02:55:29PM +0200, Basile Starynkevitch wrote:
> On Mon, 11 Oct 2010 12:22:49 +0200
> wrote:
> > 
> > the header-section from ocamlyacc appears in the
> > *.ml file of the parser, but not in the mli-file.
> Maybe menhir is better in that respect (I don't know). Did you try it?

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.

As this is used for a private project and I have many things that take my attention,
I would like to only change to other tools, if necessary.

Maybe the separate compilation unit approach would be easier in limited time.

But thanks for the hint.