caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* 2 camlp4 questions
@ 2007-04-05 21:22 Hendrik Tews
  2007-04-05 21:54 ` [Caml-list] " Martin Jambon
  2007-04-06  0:52 ` Nicolas Pouillard
  0 siblings, 2 replies; 3+ messages in thread
From: Hendrik Tews @ 2007-04-05 21:22 UTC (permalink / raw)
  To: caml-list

Hi,

I am still reading the camlp4 sources:

1. Is there a special @loc quotation form? For instance in
   camlp4/Camlp4Bin.ml line 141

  [ <:sig_item@loc< # $n$ $str:s$ >> -> Some (loc, n, s)

   What does it do? Or is ``sig_item@loc'' just the identifier of
   the quotation expander?

2. Camlp4Bin calls a cleaning pass before printing. The cleaner
   does things like 

      <:expr< $e$; $ <:expr<>> $ >> -> self#expr e

   What do these empty quotations ``<:expr<>>'' stand for? Are
   these just the things that filters leave behind if they delete
   a node?


Bye,

Hendrik


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-04-06  0:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-05 21:22 2 camlp4 questions Hendrik Tews
2007-04-05 21:54 ` [Caml-list] " Martin Jambon
2007-04-06  0:52 ` Nicolas Pouillard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).