21 Dec
2005
21 Dec
'05
1:10 a.m.
You could also learn from the code and documentation of the various implementations of Haskell: GHC, hugs, nhc, and
- YHC (http://www-users.cs.york.ac.uk/~ndm/yhc/) (an nhc derivatibe) including a portable bytecode compiler
With Yhc, there is also a quite useful wiki at http://www.haskell.org/hawiki/Yhc. In particular the runtime system is documented reasonably thorougly in http://www.haskell.org/hawiki/Yhc/RTS . There are also C, Python and Java implementations of the runtime system, which might help you figure out how it works. Thanks Neil