Date: Thu, 02 Dec 1999 13:25:04 +0000
From: Georges Mariano <georges.mariano@inrets.fr>
To: "caml-list@inria.fr" <caml-list@inria.fr>
Subject: "nested" parsers
Hello everyone,
We have developed a parser for a language L using ocamllex
and ocamlyacc , thus we have a L.mly
It appears that we can divide the language L in a few "sub"-languages.
Let's say that L3 <: L2 <: L1 = L ('<:' included in )
And we would like to have one entry point for each language
in our parser.
a) is it possible (i.e with ocamlyacc) ?
(with one .mly, with several ??)
b) how to do that ? (it's not very clear for us ;-)
(pointers to specifica documentation or examples are
welcome...)
Thanks for any help
-- > Georges MARIANO tel: (33) 03 20 43 84 06 > INRETS, fax: (33) 03 20 43 83 59 > Institut National de Recherches sur les Transport et leur Sécurité > 20 rue Elisee Reclus > 59650 Villeneuve d'Ascq mailto:mariano@terre.inrets.fr > FRANCE. > B.U.G http://www3.inrets.fr/BUGhome.html mailto:bug@estas1.inrets.fr
This archive was generated by hypermail 2b29 : Sun Jan 02 2000 - 11:58:29 MET