3 ms·
Pascal - the original Pascal, since in a comment you seem to dislike Turbo Pascal - was designed for a one-pass compiler. Things were laid out to make things v
by AnimalMuppet 4y ago
Pascal - the original Pascal, since in a comment you seem to dislike Turbo Pascal - was designed for a one-pass compiler. Things were laid out to make things very easy for that one-pass compiler - everything defined before its use, no back-tracking necessary. Also the grammar was very simple. And the compiler attempted very few (if any) optimizations compared to current compilers.
In short, the language design meant that the compiler didn't have to do much, so what it did, it could do quickly.
- davidhbolton 4y agoI learnt original Pascal at University in 1979 (Queen's University Belfast). It was very spartan compared to what Turbo Pascal would later add. Strings were a type alfa and were ten characters long.