English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
Re: re-entrance of ocamlyacc parsers
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 1997-06-05 (09:53)
From: gurr@s...
Subject: Re: re-entrance of ocamlyacc parsers

You might want to look at Camlp4 and the new parsers it uses.  These new
parsers are extensible and so you could add your new parse line to the
existing ocaml parser as a modular extension.  Further more since 
the import function can be implemented as a preprocessing step it would
IMHO make sense to use camlp4 to do so rather than hacking the compiler.

-D

gurr@snap.med.ge.com