Hacker News .hnnew | past | comments | ask | show | jobs | submit | philippekahn's commentslogin

Tanj, these are all the most excellent reasons why we were proud to have you as part of our Borland team. Software craftsmanship.


my choice would-be Professor Niklaus Wirth’s source code for “Tiny Pascal” in his seminal book “ Algorithms + Datastructures = Programs.” Here is a link: https://en.m.wikipedia.org/wiki/Algorithms_%2B_Data_Structur...

That compiler served as the blueprint for Borland tools.

philippe@fullpower.com


Welcome to HN Philippe!

> That compiler served as the blueprint for Borland tools.

When I was disassembling Turbo Pascal more than 20 years ago, I saw the similarities between the two, especially the scanner and parser where pretty much in line with the source code of Niklaus Wirth [1]. Even some of the global variables were the same. Back then I figured that since the source code of Niklaus Wirth was originally in Pascal, Anders Hejlsberg was actually "the Pascal Compiler" for the z80 (and later x86) translating the Pascal source into assembly. For me it seemed that Anders had a very good hand for register allocation, I remember the disassembly of Turbo Pascal was full of tricks, simply fantastic and elegant!

Here is one version Niklaus Wirth Pascal Compiler: [1] https://www.cs.hs-rm.de/~weber/comp/pascals3.html


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: