On 12/02/2011 09:45 PM, Paulo Pinto wrote:
Am 02.12.2011 18:49, schrieb Timon Gehr:
On 12/02/2011 02:09 PM, Paulo Pinto wrote:
The GHC compiler is written in Haskell, which is the reference
implementation.
GHC has long been completely dependent on a C compiler though, because
it could only compile the Haskell code to C and then invoked GCC afaik.
So what?
Nothing, just trivia.
Many compiler implementors use a target language instead of pure native
code generation to spare effort developing a proper compiler backend.
Current GHC versions compile directly to native code, even though you
can still use the old C code generation backend.
I know.