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=2.0 required=5.0 tests=AWL,DNS_FROM_RFC_POST, SPF_NEUTRAL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id 59EDFBBC4 for ; Wed, 15 Apr 2009 10:49:33 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsECAIY65UnRVdmrimdsb2JhbACVUT8BAQEKCQwHDwWpeYEJkEkBAwEDg3sG X-IronPort-AV: E=Sophos;i="4.38,431,1233529200"; d="scan'208";a="27711069" Received: from mail-gx0-f171.google.com ([209.85.217.171]) by mail1-smtp-roc.national.inria.fr with ESMTP; 15 Apr 2009 10:49:32 +0200 Received: by gxk19 with SMTP id 19so6261593gxk.3 for ; Wed, 15 Apr 2009 01:49:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :content-type:content-transfer-encoding:mime-version:subject:date :x-mailer; bh=pyI9VldmaH1FNpNnXGk2Ct5+j4bGwkdvkg+2NQnJ55A=; b=G7fdfSgj5l8eeRqBrLtCHObVc1L1J9xRfSC5roK2tGsGm1GzMb/kRNUVLR6CAndhj0 ZVLgtVn2RlN5Gf7JPdC/0AJZ3p174Jv88AvUuMieeBHN7ytJhGkx46qzfm3vxa6rHkPc iyF9T5102cjY+h/7PatTfbrHHxTpqRUTpf7zU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:content-type:content-transfer-encoding :mime-version:subject:date:x-mailer; b=il65GfqWBmjpS2o+VHOtOcaQgvhN/Aw9tilgnUuS1ZPQE+4UcKUSnN/5OxfjqG+ZYf a6wDYztk8uTL5oWv1frXN2dyex2A430aw5/I5kwtSILmeQ8zVrXvba8RIZAr0SFi+9q6 ObSF0zgtZngct4BotqwhUBhsIZbXwKxV3oSBU= Received: by 10.90.106.4 with SMTP id e4mr4171756agc.78.1239785371314; Wed, 15 Apr 2009 01:49:31 -0700 (PDT) Received: from ?10.10.30.10? (101.Red-83-59-28.dynamicIP.rima-tde.net [83.59.28.101]) by mx.google.com with ESMTPS id 34sm14851998yxl.59.2009.04.15.01.49.29 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 15 Apr 2009 01:49:30 -0700 (PDT) Message-Id: <77D9D70A-15A4-400B-9035-D78D4AF85D67@gmail.com> From: Joel Reymont To: O'Caml Mailing List Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Subject: antiquotations for c# Date: Wed, 15 Apr 2009 09:49:26 +0100 X-Mailer: Apple Mail (2.930.3) X-Spam: no; 0.00; camlp:01 parser:01 ast:02 ast:02 hacker:02 bits:05 implementing:06 suppose:09 end:12 though:13 ---:17 code:17 thanks:17 include:19 plug:80 Suppose I have a camlp4 parser for C#. I want to include bits of C# in my code and end up with the AST. I want to have "holes" in the above AST to plug in values. I understand that antiquotations take car of filling the holes in the AST, any tips on implementing this, though? Thanks, Joel --- Mac hacker with a performance bent http://linkedin.com/in/joelreymont