Re:Compiler Construction by Niklaus Wirth [pdf]
by badsectoracula on Friday January 31, 2020 @10:56PM
(#22208544)
Keep in mind that Wirth is a "simplificator": given any task, he'll try to take the simplest approach (as an example see his talk for his 80th birthday and his remark on the complexity he saw at Xerox PARC which drove him to design Oberon). His languages are even designed so that they are easy to implement. Intermediate representations might be what many compilers use nowadays, but they are not necessary to write a compiler, thus they're out - sacrificed at the altar of simplicity :-).
[ Parent
| on HN ]
Re:Compiler Construction by Niklaus Wirth [pdf]
by pjmlp on Saturday February 01, 2020 @02:34AM
(#22209255)
To be fair, he just adopted the Xerox PARC approach regarding code generation, where bytecode gets generated, with multiple possible execution paths.
The Xerox PARC workstations were microcoded, and the one needed to load the microcode on boot for the specific environment (XDE, Smalltalk, Interlisp-D,...).
Likewise the P-Code as means of portability for Pascal, M-Code on Lillith, the Ceres and latter FPGA RISC for Oberon.