Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[Caml-list] camlp4: Creating my own quasiquotations

1 view
Skip to first unread message

Joel Reymont

unread,
Oct 5, 2007, 5:35:30 AM10/5/07
to Caml List
Folks,

The "One-day compiler" presentation [1] mentions creating your own
quasiquoations, <:cstmt< ... >> in that particular case. The
presentation does not explain how this is accomplished, though. Are
there examples?

Thanks, Joel

[1] http://www.venge.net/graydon/talks/mkc/html/index.html

--
http://wagerlabs.com

_______________________________________________
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

Pietro Abate

unread,
Oct 5, 2007, 7:23:54 AM10/5/07
to caml...@yquem.inria.fr, Caml List
maybe you can find something here:
http://www.venge.net/graydon/cgi-bin/viewcvs.cgi/src/mkc/

p

--
++
++ "All great truths begin as blasphemies." -George Bernard Shaw
++ Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html

Nicolas Pouillard

unread,
Oct 6, 2007, 3:14:35 AM10/6/07
to Pietro.Abate, caml-list, caml-list
Here is some pointers about that subjects:

The camlp4 wiki: http://brion.inria.fr/gallium/index.php/Camlp4

About quotations: http://brion.inria.fr/gallium/index.php/Quotation

A small but complete example of a new quotation expander:
http://brion.inria.fr/gallium/index.php/Lambda_calculus_quotations

HTH,

Excerpts from Pietro.Abate's message of Fri Oct 05 13:22:46 +0200 2007:


> maybe you can find something here:
> http://www.venge.net/graydon/cgi-bin/viewcvs.cgi/src/mkc/
>
> p
>
> On Fri, Oct 05, 2007 at 10:34:30AM +0100, Joel Reymont wrote:
> > Folks,
> >
> > The "One-day compiler" presentation [1] mentions creating your own
> > quasiquoations, <:cstmt< ... >> in that particular case. The
> > presentation does not explain how this is accomplished, though. Are
> > there examples?
> >
> > Thanks, Joel
> >
> > [1] http://www.venge.net/graydon/talks/mkc/html/index.html
> >
> > --
> > http://wagerlabs.com
> >
> >
> >
> > _______________________________________________
> > 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
>

--
Nicolas Pouillard aka Ertai

0 new messages