It's kind of fun thinking of "bootstrapping" a trusted compiler from some old sources. Like some sort of master handing down their tools to the apprentice.

"Now, I bestow upon you my most trusted C compiler...artisanally compiled from ancient scrolls using only an 8088 chip"

The oldest thing I have is also the first C compiler I ever used, the ECO-C88 on 5.25" floppy.

p.s. Also I just looked up that Ken Thompson paper, and it credits "[4] Unknown Air Force Document" for the idea (!!)

Follow

@vu3rdd Oooo, dang, bootstrap a Haskell compiler. That's the bonus question after the "C compiler" part, right? ;)

· · Web · 1 · 0 · 0

@meejah :-) GHC is written in GHC itself. Early GHC was written in LazyML, I think. Some sources of LazyML are available, but I don't know if a version of GHC that can compile with LazyML is available. I haven't been able to dig out very old versions of GHC. Most of the ftp sites are dead. Internet Archive does not have anything from them.. so it is a dead end there.

Sign in to participate in the conversation
Mastodon

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!