ghc-simple

Simplified interface to the GHC API.

https://github.com/valderman/ghc-simple

Latest on Hackage:0.4

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

MIT licensed by Anton Ekblad
Maintained by [email protected]

The GHC API is a great tool for working with Haskell code. Unfortunately, it's also fairly opaque and hard to get started with. This library abstracts away the intricacies of working with the GHC API, giving a general, no-nonsense way to extract highly optimized (or not, depending on your use case) Core, STG, custom intermediate code, and other information from Haskell code.