caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* quasiquoting: 3 parsers for camlp4 vs 1 for haskell?
@ 2009-04-17 18:24 Joel Reymont
  2009-04-17 20:06 ` [Caml-list] " Jake Donham
  2009-04-22 23:19 ` Jon Harrop
  0 siblings, 2 replies; 5+ messages in thread
From: Joel Reymont @ 2009-04-17 18:24 UTC (permalink / raw)
  To: O'Caml Mailing List

 From the quasiquoting paper by Geoffrey Mainland [1], page 7:

"The major advantage of our approach over that of camlp4
is that we demonstrate how to use generic programming
to reuse a single parser to parse quasiquoted patterns,
quasiquoted expressions and plain syntax that does not
include antiquotes. Because OCaml does not support generic
programming out of the box, in camlp4 this would require
three separate parsers, each generating different
representations of the same concrete syntax."

Can someone shed light on how, where and why three different
parsers are required for camlp4? Is this still the case with 3.11?

	Thanks, Joel

[1] http://www.eecs.harvard.edu/~mainland/ghc-quasiquoting/

---
Mac hacker with a performance bent
http://linkedin.com/in/joelreymont




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-04-23 14:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-17 18:24 quasiquoting: 3 parsers for camlp4 vs 1 for haskell? Joel Reymont
2009-04-17 20:06 ` [Caml-list] " Jake Donham
2009-04-22 23:19 ` Jon Harrop
2009-04-23  2:17   ` Geoffrey Mainland
2009-04-23 14:53   ` Nicolas Pouillard

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).