2 ms·
Interesting. It must get tricky when you make an incompatible change to the language. I guess you'd make the changes to the compiler still using the old languag
by tlb 13y ago
Interesting. It must get tricky when you make an incompatible change to the language. I guess you'd make the changes to the compiler still using the old language, update the test cases, make it stable, then change the compiler sources to reflect the new language, recompile the compiler, then check in the new compiler JS. With plenty of git checkpoints along the way.
- arnarbi 13y agoOne of the gems in CS literature illustrates this nicely: http://cm.bell-labs.com/who/ken/trust.html http://cm.bell-labs.com/who/ken/trust.html Essentially self-compiling compilers can "remember" things that are nowhere to be found in the source code.