This looks a lot like the Tiny Pascal compiler that BYTE published a listing of back in 1978.
http://www.trs-80.org/tiny-pascal/
I figured out the basics of how a compiler works by going through it line by line.
http://www.trs-80.org/tiny-pascal/
I figured out the basics of how a compiler works by going through it line by line.
I didn't see a link to the source in the article, but this seems to be it: https://sourceforge.net/p/tiny-pascal/code/HEAD/tree/NorthSt...
You are right about Pascal's original design. Though I'm not sure if that's still true about modern versions of the language?
Some dialects and optimising compilers, had multiple passes.
Pressing "build" in Turbo Pascal on my 386sx it was already done before you could even perceive any delay. Instant.