dememax: (скука)
From: [personal profile] dememax
Признаться, у меня никогда не было и нет инсталляции GHC.
Как и указал в посте, я посмотрел вскользь на их исходники.
Но, конечно, не только исходниками я пользовался, мне ещё и Википедия помогала.
Позволю себе процитировать соответствующую статью английской википедии:
GHC is itself written in Haskell (in a technique known as bootstrapping), but the runtime system for Haskell, an essential part of the compiler, is written in C and C--.
....
The back end of the compiler transforms Core code into an internal representation of C--, via an intermediate language STG (short for "Spineless Tagless G-machine"). The C-- code can then take one of two routes: either it is printed directly as C code, or it is converted into native machine code (the traditional "code generation" phase).
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

Profile

dememax

May 2023

S M T W T F S
 123456
78910111213
14151617181920
21 2223 24252627
28293031   

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 6th, 2025 03:43 pm
Powered by Dreamwidth Studios