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 AA49CBC57 for ; Thu, 23 Sep 2010 21:07:13 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AuEFAG5Cm0xQDPIxYGdsb2JhbACISotEjiYLFwsIBhQDH6wnm0uFQgSETohogmI X-IronPort-AV: E=Sophos;i="4.57,224,1283724000"; d="scan'208";a="71273714" Received: from smtp21.orange.fr ([80.12.242.49]) by mail4-smtp-sop.national.inria.fr with ESMTP; 23 Sep 2010 21:07:13 +0200 Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2122.orange.fr (SMTP Server) with ESMTP id BD5B51C001B5; Thu, 23 Sep 2010 21:06:43 +0200 (CEST) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2122.orange.fr (SMTP Server) with ESMTP id AEB931C001BC; Thu, 23 Sep 2010 21:06:43 +0200 (CEST) Received: from [172.24.130.59] (out1-1601fw.corp.tfbnw.net [66.220.144.27]) by mwinf2122.orange.fr (SMTP Server) with ESMTP id 63ACA1C001B5; Thu, 23 Sep 2010 21:06:42 +0200 (CEST) X-ME-UUID: 20100923190642408.63ACA1C001B5@mwinf2122.orange.fr X-ME-User-Auth: padator@wanadoo.fr Subject: Re: [Caml-list] what do I need to know to understand camlp4 Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset=us-ascii From: Yoann Padioleau In-Reply-To: Date: Thu, 23 Sep 2010 12:06:40 -0700 Cc: Jake Donham , caml-list@inria.fr Content-Transfer-Encoding: quoted-printable Message-Id: <0D59721B-70ED-44B9-B450-FF3A26D81CFF@wanadoo.fr> References: To: ben kuin X-Mailer: Apple Mail (2.1081) X-Spam: no; 0.00; camlp:01 camlp:01 ocaml:01 ocaml:01 beginner's:01 bug:01 beginner's:01 bug:01 23,:98 23,:98 blog:98 sourceforge:01 beginners:01 beginners:01 wrote:01 On Sep 23, 2010, at 11:49 AM, ben kuin wrote: > thanks Jake, after browsing through those articles I came to the > conclusion that for understanding and using camlp4 the notion of > quotations and antiquotations is fundamental. My absolute lack of > knowledge in this area might be a reason why I can't figure out how > camlp4 works. Do you know how macros work in other languages ? You could have a look at Lisp macros which are simpler than OCaml = macros: http://cl-cookbook.sourceforge.net/macros.html Understanding lisp macros could be a good step towards understanding = ocaml macros. >=20 >=20 >=20 > On Thu, Sep 23, 2010 at 6:23 PM, Jake Donham wrote: >> On Thu, Sep 23, 2010 at 8:25 AM, bluestorm = wrote: >>> For an accessible introduction to modern (>=3D 3.10) Camlp4, you may = be >>> interested in Jake Donham's blog post series "Reading Camlp4" : >>> http://ambassadortothecomputers.blogspot.com/search/label/camlp4 >>=20 >> You can also see the articles in sequence at >>=20 >> http://ambassadortothecomputers.blogspot.com/p/reading-camlp4.html >>=20 >> which I recommend since later articles depend on earlier material. >>=20 >> Jake >>=20 >> _______________________________________________ >> Caml-list mailing list. Subscription management: >> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list >> Archives: http://caml.inria.fr >> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners >> Bug reports: http://caml.inria.fr/bin/caml-bugs >>=20 >=20 > _______________________________________________ > Caml-list mailing list. Subscription management: > http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list > Archives: http://caml.inria.fr > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs