From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by yquem.inria.fr (Postfix) with ESMTP id BEF3CBC57 for ; Thu, 23 Sep 2010 17:26:07 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtEBAN8Om0zRVdg2kGdsb2JhbACISZlgCBUBAQEBCQkMBxEDH4gYoxGJPYIUhlAuiFUBAQMFhTwEhQSFNIkD X-IronPort-AV: E=Sophos;i="4.57,223,1283724000"; d="scan'208";a="71251332" Received: from mail-qw0-f54.google.com ([209.85.216.54]) by mail4-smtp-sop.national.inria.fr with ESMTP; 23 Sep 2010 17:25:40 +0200 Received: by qwd6 with SMTP id 6so916529qwd.27 for ; Thu, 23 Sep 2010 08:25:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:sender:received :in-reply-to:references:from:date:x-google-sender-auth:message-id :subject:to:cc:content-type; bh=m9U+duVgXKgkJur02xFrfFudGPask3dyTuBDljwWoCs=; b=cVWenD/wYU5zUOOdSdTvET6lDjDYzQLNpnRe14+Ubmmv+lGbjv6pRaWM3GijBMzHPa D3VHOXlI/mDanO4jac7JttTZlrNok+0mBTsu92gA7ttzwIV5q3gkCBe39nTT/Y56MW/1 PMnKAGCO9ok5O3HrFym5qkA1S1Ivxv/6b5SCc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; b=xRbisD81QmjguUU4Pa8OhMT8aWXMrTK5DSiawWmVbsD1Ow+k0t6M8pM4o1JKcNs6gt 4FOb1slTSU4q3RzlW5mY2J1HxIIArEFur5BHzfWOhoEXgoljdvTRrbb2GjaB/E9ykjLX MRO1j++XllCJVEiTlhBePPswm9t5YNo4nJprY= Received: by 10.229.223.198 with SMTP id il6mr1515273qcb.50.1285255539151; Thu, 23 Sep 2010 08:25:39 -0700 (PDT) MIME-Version: 1.0 Sender: gabriel.scherer@gmail.com Received: by 10.229.28.210 with HTTP; Thu, 23 Sep 2010 08:25:14 -0700 (PDT) In-Reply-To: References: From: bluestorm Date: Thu, 23 Sep 2010 17:25:14 +0200 X-Google-Sender-Auth: ZUA6q8YqvcpTW5adaNarEtSZ_wc Message-ID: Subject: Re: [Caml-list] what do I need to know to understand camlp4 To: ben kuin Cc: caml-list@inria.fr Content-Type: text/plain; charset=ISO-8859-1 X-Spam: no; 0.00; camlp:01 camlp:01 wiki:01 blog:98 caml-list:01 jambon:01 caml:02 incomplete:03 tutorial:03 inria:06 inria:06 docs:07 label:07 php:87 idea:13 > Could someone give any idea how I can begin to understand how to write > simple camlp4 extensions? For an accessible introduction to modern (>= 3.10) Camlp4, you may be interested in Jake Donham's blog post series "Reading Camlp4" : http://ambassadortothecomputers.blogspot.com/search/label/camlp4 You will also find valuable (though incomplete) information on the camlp4 wiki : http://brion.inria.fr/gallium/index.php/Camlp4 The older version of camlp4 (< 3.10, now called camlp5) also provides a documentation http://caml.inria.fr/pub/docs/tutorial-camlp4/index.html , and you can also use to Martin Jambon's tutorial http://martin.jambon.free.fr/extend-ocaml-syntax.html (for the older camlp4).