Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
quasiquoting: 3 parsers for camlp4 vs 1 for haskell?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2009-04-17 (20:06)
From: Jake Donham <jake@d...>
Subject: Re: [Caml-list] quasiquoting: 3 parsers for camlp4 vs 1 for haskell?
On Fri, Apr 17, 2009 at 11:24 AM, Joel Reymont <> 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; it's just not finished.