Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
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.