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] RealWorld-Examples for OcamlLex/OcamlYacc?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2003-10-05 (22:07)
From: Remi Vanicat <vanicat@l...>
Subject: Re: [Caml-list] RealWorld-Examples for OcamlLex/OcamlYacc? (Oliver Bandel) writes:

> Hello Hackers,


> The example in the Refman seems a littlebid confusing to me:
> There is a function Parser.main called, but in the Refman there only
> is a module Parsing, not a module Parser described.
> And in the ocmallex/Ocamlyacc-chapter I didn't find something about
> a call to Parser.main.

May I remind you that each ocaml source file is a module, so if you
have a parser.mly it will produce a, and so a Parser module?  

Then in the given example, the main rules is named "main", so the
Parser.main must be the call to the main rule of the parser your are


Rémi Vanicat

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