Version française
Home     About     Download     Resources     Contact us    
Browse thread
Camlp4: How to reset a Camlp4Syntax into pristine state?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Hendrik Tews <tews@c...>
Subject: Camlp4: How to reset a Camlp4Syntax into pristine state?
Hi,

I want to reuse a Camlp4Syntax module (obtained from
Camlp4.OCamlInitSyntax.Make) for parsing different files with
possibly different parsers or extensions loaded. How do I reset a
Camlp4Syntax module into its initial state such that it is ready
to get applied to the next set of syntax extensions for the next
file to parse?

Bye,

Hendrik