Fwd: GHC internals
Simon Peyton-Jones
simonpj at microsoft.com
Tue Apr 30 11:59:04 CEST 2013
Fantastic. As Simon says, what would be most helpful is better documentation on the wki, in the Commentary. The root is here
http://hackage.haskell.org/trac/ghc/wiki/Commentary
and the rudimentary GHCi docs are here
http://hackage.haskell.org/trac/ghc/wiki/Commentary/Compiler/Backends/GHCi
If that's too awkward, a link to a PDF would be good, but it's clearly not editable by others.
Simon
From: William Kenyon [mailto:wk249 at cam.ac.uk]
Sent: 30 April 2013 10:28
To: Simon Marlow; Simon Peyton-Jones
Cc: Norman Ramsey; ghc-devs at haskell.org
Subject: Re: Fwd: GHC internals
> If you mean the details of bytecode compilation and the bytecode interpreter, I'm really not sure that there is. That's bad; there
> should be. I'm ccing Simon M in case he knows of something.
I'm just starting to write detailed documentation for the bytecode generator and interpreter as part of my Masters project,
What format would be most useful for you guys? I could do it in haddock and then include it into my project?
Or just do it in plain latex and make my report publicly available?
Will
On 30 April 2013 10:02, Simon Marlow <marlowsd at gmail.com<mailto:marlowsd at gmail.com>> wrote:
From: *Simon Peyton-Jones* <simonpj at microsoft.com<mailto:simonpj at microsoft.com>
<mailto:simonpj at microsoft.com<mailto:simonpj at microsoft.com>>>
Norman
| - Is there anything published about the implementation of GHCi?
| Or perhaps something on the Developers' Wiki that explains how it
works?
If you mean the details of bytecode compilation and the bytecode
interpreter, I'm really not sure that there is. That's bad; there
should be. I'm ccing Simon M in case he knows of something.
Julian Seward wrote some notes on the way GHCi works, which are in the commentary:
http://hackage.haskell.org/trac/ghc/wiki/Commentary/Compiler/Backends/GHCi
It's not much, but there are some technical details about stacks and suchlike there. The bytecode itself is a pretty simple stack machine, I can probably answer questions if there's anything you need some help with.
Cheers,
Simon
_______________________________________________
ghc-devs mailing list
ghc-devs at haskell.org<mailto:ghc-devs at haskell.org>
http://www.haskell.org/mailman/listinfo/ghc-devs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20130430/855c8a64/attachment-0001.htm>
More information about the ghc-devs
mailing list