caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* "nested" parsers
@ 1999-12-02 13:25 Georges Mariano
  1999-12-03 13:31 ` Hendrik Tews
  1999-12-03 14:32 ` Remi VANICAT
  0 siblings, 2 replies; 4+ messages in thread
From: Georges Mariano @ 1999-12-02 13:25 UTC (permalink / raw)
  To: caml-list

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




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1999-12-03 18:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-12-02 13:25 "nested" parsers Georges Mariano
1999-12-03 13:31 ` Hendrik Tews
1999-12-03 18:18   ` skaller
1999-12-03 14:32 ` Remi VANICAT

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).