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
camlp4 3.10 questions
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-03-29 (15:50)
From: Hendrik Tews <H.Tews@c...>
Subject: Re: [Caml-list] camlp4 3.10 questions
"Nicolas Pouillard" <> writes:

   On 3/29/07, Hendrik Tews <> wrote:
   > 1. What is the difference between Register.Printer and
   >    Register.OCamlPrinter? I guess it boils down to the difference
   >    between Sig.Syntax and Sig.Camlp4Syntax?

   Yes it's mainly a difference about what your printer really needs. If
   you use the camlp4 AST then you need a Sig.Camlp4Syntax as argument,
   if it's not needed then you can use Sig.Syntax.

Does this mean I have to use Camlp4Syntax and OCamlPrinter it I
want to use quotations? Or do the quotations also work on

   > 3. Register.declare_dyn_module puts all modules in a queue
   >    together with a function that contains some delayed side
   >    effects. Where are these function called?

Well, I was that far. But where in Camlp4Bin?

   > 5. I saw Camlp4OCamlOriginalQuotationExpander, presumably this is
   >    a quotation expander for quotations in original syntax. Is
   >    this already complete?

   Complete, not really but usable yes.

Are there just corner cases missing or whole branches of the

   >    What is camlp4prof?

   A profiling toy.

Well... profiling what?