From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id 590F4BC0A for ; Thu, 5 Apr 2007 23:22:06 +0200 (CEST) Received: from smeltpunt.science.ru.nl (smeltpunt.science.ru.nl [131.174.16.145]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l35LM50t032419 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Thu, 5 Apr 2007 23:22:06 +0200 Received: from tandem.cs.ru.nl [131.174.142.18] (helo=tandem.cs.ru.nl) by smeltpunt.science.ru.nl (8.13.7/5.11) with ESMTP id l35LM5jY024400 for ; Thu, 5 Apr 2007 23:22:05 +0200 (MEST) Received: from tews by tandem.cs.ru.nl with local (Exim 4.63) (envelope-from ) id 1HZZPC-00063v-C4 for caml-list@inria.fr; Thu, 05 Apr 2007 23:22:06 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17941.26750.232997.697322@tandem.cs.ru.nl> Date: Thu, 5 Apr 2007 23:22:06 +0200 To: caml-list@inria.fr Subject: 2 camlp4 questions X-Mailer: VM 7.19 under Emacs 21.4.1 From: Hendrik Tews X-Scanned-By: MIMEDefang 2.56 on 131.174.16.145 X-Miltered: at discorde with ID 4615687D.001 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; camlp:01 hendrik:01 tews:01 tews:01 camlp:01 sig:01 sig:01 expander:01 expr:01 expr:01 node:01 hendrik:01 bin:01 bin:01 quotations:03 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