[Haskell-cafe] Haskell syntax inside QuasiQuote

Reiner Pope reiner.pope at gmail.com
Tue Oct 21 08:19:47 EDT 2008


It sounds like you're doing exactly what I'm looking for. I look forward to
more.

Reiner

On Tue, Oct 21, 2008 at 4:28 PM, Matt Morrow <mjm2002 at gmail.com> wrote:

> > Is there a simple way to do this, i.e. using existing libraries?
>
> Yes indeed. I'll be traveling over the next two days, and am shooting
> for a fully functional hackage release by mid next week.
>
> > What I need is a Haskell expression parser which outputs values of type
> > Language.Haskell.TH.Syntax.QExp, but I can't see one available in the TH
> > libraries, or in the haskell-src(-exts) libraries.
>
> My strategy is to use the existing haskell-src-exts parser, then
> translate that AST to the TH AST.
>
> Once I've got settled in one place, I'll follow up with a brain dump :)
>
> > Cheers,
> > Reiner
>
> Matt
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20081021/fd43967e/attachment.htm


More information about the Haskell-Cafe mailing list