4 ms·
How was this compiler bootstrapped?
by doppioandante 9y ago
How was this compiler bootstrapped?
- pieterr 9y agoExplained here: https://www.bell-labs.com/usr/dmr/www/chist.html https://www.bell-labs.com/usr/dmr/www/chist.html
- mseepgood 9y agoBy extending Ken Thompson's B compiler. The B compiler was initially written in TMG before Thompson rewrote it in B. Then Richie added types like 'char' and 'int' and called it NB ("new B"), then he added structs and C was born. The TMG interpreter used by Thompson to create B was implemented for the PDP-7 by Doug McIlroy in PDP-7 assembly language: http://minnie.tuhs.org/pipermail/tuhs/2014-September/005149.html http://minnie.tuhs.org/pipermail/tuhs/2014-September/005149.... This is what TMG looked like: http://multicians.org/tmg.html http://multicians.org/tmg.html