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
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.