3 ms·
The best BYTE for me was the one where they published the entire source code of a Pascal compiler, written in Basic. Up till then I was completely mystified how
by WalterBright 9y ago
The best BYTE for me was the one where they published the entire source code of a Pascal compiler, written in Basic. Up till then I was completely mystified how a compiler worked. In figuring out every line of that compiler, I felt like somebody turned the lights on.
Later on, I was using a Pascal compiler on the PDP-11. I'd write bits of code, compile them, and look at the assembler. I was especially impressed with the clever way nested functions worked (the static link pointer). Nested functions in D are implemented the same way :-)
- boramalper 9y agoDo you still remember which issue it was? I'd love to read. =)
- seesomesense 9y agohttps://archive.org/details/byte-magazine-1978-09 https://archive.org/details/byte-magazine-1978-09 p.58 A -TINY- PASCAL COMPILER, Part 1: The P-Code Interpreter [theme Software] [author Chung-Yuen]
- boramalper 9y agoThanks a ton! Much appreciated.
- b4ux1t3 9y agoI love the detailed breakdown of how the front cover was made on page 4. That's so cool.