caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Yoann Padioleau <padator@wanadoo.fr>
To: ben kuin <benkuin@gmail.com>
Cc: Jake Donham <jake@donham.org>, caml-list@inria.fr
Subject: Re: [Caml-list] what do I need to know to understand camlp4
Date: Thu, 23 Sep 2010 12:06:40 -0700	[thread overview]
Message-ID: <0D59721B-70ED-44B9-B450-FF3A26D81CFF@wanadoo.fr> (raw)
In-Reply-To: <AANLkTinDB4h-=95GV7cM48cR10Ydcvgzty9gVU=nXjD_@mail.gmail.com>


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.

> 
> 
> 
> On Thu, Sep 23, 2010 at 6:23 PM, Jake Donham <jake@donham.org> wrote:
>> On Thu, Sep 23, 2010 at 8:25 AM, bluestorm <bluestorm.dylc@gmail.com> wrote:
>>> 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 can also see the articles in sequence at
>> 
>>  http://ambassadortothecomputers.blogspot.com/p/reading-camlp4.html
>> 
>> which I recommend since later articles depend on earlier material.
>> 
>> Jake
>> 
>> _______________________________________________
>> 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
>> 
> 
> _______________________________________________
> 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




  parent reply	other threads:[~2010-09-23 19:07 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-23 14:56 ben kuin
2010-09-23 15:21 ` [Caml-list] " David MENTRE
2010-09-23 19:50   ` ben kuin
2010-09-24  0:15     ` Elias Gabriel Amaral da Silva
2010-09-24  7:35       ` David House
2010-09-27 11:43         ` Elias Gabriel Amaral da Silva
2010-09-24  7:48     ` David MENTRE
2010-09-23 15:25 ` bluestorm
2010-09-23 16:23   ` Jake Donham
2010-09-23 18:49     ` ben kuin
2010-09-23 18:54       ` Jake Donham
2010-09-23 19:06       ` Yoann Padioleau [this message]
2010-09-23 16:28 ` Michael Ekstrand
2010-09-23 16:35 ` Sylvain Le Gall
     [not found] ` <1285259219.1820.15.camel@knine>
2010-09-23 18:43   ` [Caml-list] " ben kuin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0D59721B-70ED-44B9-B450-FF3A26D81CFF@wanadoo.fr \
    --to=padator@wanadoo.fr \
    --cc=benkuin@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=jake@donham.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).