Hi,

This sounds to me more like a job for haskell-src-exts [1]. Which represents full haskell source modules. The advantage above the GHC API is that it is more stable and does not require GHC at all.

Lars

[1]: http://hackage.haskell.org/package/haskell-src-exts-1.13.5


On Fri, Aug 2, 2013 at 2:07 PM, blackbox.dev.ml <blackbox.dev.ml@gmail.com> wrote:
HI!
Could you please give me hints where to find materials to learn GHC API?
I know there is  http://www.haskell.org/haskellwiki/GHC/As_a_library, but this contains only 2 examples and I would to learn how to create datatypes, classes, functions etc using GHC API, how to compile them later or generate Haskell code out of them (if its possible).

I would be thnakful for any hint! :)
Thank you,
Wojtek

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe