[Haskell-cafe] Somewhat random history question - chicken and egg

Stefan O'Rear stefanor at cox.net
Sun Nov 11 10:49:17 EST 2007


On Sun, Nov 11, 2007 at 11:07:29AM +0000, Neil Mitchell wrote:
> Hi
> 
> > > "...if GHC is written in Haskell, how the heck did they compile GHC in
> > > the first place?"
> 
> GHC was not the first Haskell compiler, hbc was the main compiler at
> some point, so I suspect they used hbc. There was also lazy ML which I
> suspect was used to bootstrap hbc - but I'm not sure of the details.

Hbc didn't need to be bootstrapped because it isn't written in Haskell -
it's written in Lazy ML.  Lazy ML would need to be bootstrapped, but
since it has (almost?) the same syntax as Standard ML, I suspect the
first versions of lml were written in SML.  (Can you clarify,
L. Augustsson?)

Stefan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20071111/76f37810/attachment.bin


More information about the Haskell-Cafe mailing list