
10 Jan
2008
10 Jan
'08
2:12 p.m.
Hello, I am reading 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? Thanks, Vasili

10 Jan
10 Jan
2:16 p.m.
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
6345
Age (days ago)
6345
Last active (days ago)
1 comments
2 participants
participants (2)
-
Don Stewart
-
Galchin Vasili