Hi guys,
I was wondering where I should get started in learing about
how to implement a haskell compiler?
Are there papers, wiki entries, or other things people think
would be helpful or should I just start looking at the
source of one of the compilers?
You are braver than me, but I must confess I've had the same desire.
Here's a great place to start:
Simon Peyton Jones, David Lester, Implementing functional languages: a tutorial
http://research.microsoft.com/Users/simonpj/Papers/pj-lester-book/
It's long, (sort of old) and written in Miranda
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
On Tue, 20 Dec 2005, John Meacham wrote:
On Tue, Dec 20, 2005 at 10:36:36AM -0600, Creighton Hogg wrote:
I was wondering where I should get started in learing about
how to implement a haskell compiler?
Snip Absolute Awesomeness
Wow! That was a great response, with more references than