Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Jake Donham <jake@donham.org>
To: Joel Reymont <joelr1@gmail.com>
Cc: "O'Caml Mailing List" <caml-list@yquem.inria.fr>
Subject: Re: [Caml-list] quasiquoting: 3 parsers for camlp4 vs 1 for haskell?
Date: Fri, 17 Apr 2009 13:06:31 -0700	[thread overview]
Message-ID: <c7e4e9f0904171306l5750c74dwf212062b8bfa1c73@mail.gmail.com> (raw)
In-Reply-To: <BFCC3F90-1A3B-4191-A1C8-0F3E271F6D56@gmail.com>

On Fri, Apr 17, 2009 at 11:24 AM, Joel Reymont <joelr1@gmail.com> wrote:
> Can someone shed light on how, where and why three different
> parsers are required for camlp4? Is this still the case with 3.11?

I haven't read the Mainland paper so I don't know exactly what he's
talking about, but with the MetaGenerator module in Camlp4 you can use
one parser for all three tasks.

Antiquotations can be used in pattern matching (you can see this all
over the Camlp4 source for the OCaml AST). Don't be misled by my
jsgen.ml; it's just not finished.

Jake


  reply	other threads:[~2009-04-17 20:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-17 18:24 Joel Reymont
2009-04-17 20:06 ` Jake Donham [this message]
2009-04-22 23:19 ` [Caml-list] " Jon Harrop
2009-04-23  2:17   ` Geoffrey Mainland
2009-04-23 14:53   ` Nicolas Pouillard

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=c7e4e9f0904171306l5750c74dwf212062b8bfa1c73@mail.gmail.com \
    --to=jake@donham.org \
    --cc=caml-list@yquem.inria.fr \
    --cc=joelr1@gmail.com \
    /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