11 Jan
2008
11 Jan
'08
3:12 a.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
11 Jan
11 Jan
3:16 a.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
6764
Age (days ago)
6764
Last active (days ago)
1 comments
2 participants
participants (2)
-
Don Stewart -
Galchin Vasili