On Sat, Mar 26, 2016 at 09:12:52AM +0100, Ricardo Wurmus wrote: > GCC itself is not sufficient to build many compilers. For GHC, for > example, you need a Haskell compiler such as GHC. I looked at nhc98 and > other defunct Haskell compilers, but they all have a bootstrapping step > that either requires a Haskell compiler or building from generated C > sources. > > In the case of Haskell I think it would make sense to try to figure out > how to bootstrap with Hugs, a Haskell interpreter, or with Yale Haskell, > which I’m trying to port to Guile. > > It is probably easier for us to try to write primitive compilers in > Guile than to start from scratch each time. Then the only blob we need > to figure out how to bootstrap would be Guile itself.
I think this is one of those things that need help from upstream to create a simpler compiler that we can write a interpreter for. > ~~ Ricardo Jookia.