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] unbound value Parser.main?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Patrick M Doane <patrick@w...>
Subject: Re: [Caml-list] unbound value Parser.main?
On Fri, 31 Aug 2001, Michael Leary wrote:

> Thanks for the replies. :)
> New problem:
> How do I reference functions in from parser.mly?  Do I have to put
> most of my program in the header/footer of the parser?

You'll have to make sure that is compiled before parser.mly in
your Makefile.  If calls the parser then you'll need to break the
recursive dependency into two modules.

After that, the parser can refer to the code in with a module
prefix (e.g.  Fbot.initialize).


Bug reports:  FAQ:
To unsubscribe, mail  Archives: