[Haskell-cafe] GHC API?
Don Stewart
dons at galois.com
Thu Jan 10 14:16:40 EST 2008
vigalchin:
> Hello,
>
> I am reading
> [1]http://hackage.haskell.org/trac/ghc/wiki/Commentary/Compiler/API. Is
> the GHC API a means of reflection Haskell? Or to put more simply what is
> its intent?
>
It can be used for reflection, since it exposes the interpreter at
runtime.
I think the original intent was a reusable code base of Haskell
compiler/interpreter/type checker code, supporting all Haskell + GHC
extensions, callable from Haskell, making language research, and new
Haskell tools easier.
-- Don
More information about the Haskell-Cafe
mailing list