Yes, sure, I forgot about that.

Single-pass compilation makes the compiler fast;
my Pascal compiler compiles itself (19.000 lines) in ca. 10 seconds.
(And this runs interpreted on Windows, using a P-Code interpreter ...)

On Hercules (CMS or MVS), it's about the same. There you have to add
3 or 4 seconds more for the P-Code to 370 translator.

It's very easy this way to test new coding, because the turnaround times
(compile, test, verify, change code, compile again, ...) are so low.
And it's much fun.

I couldn't imagine working on this, if a build of the compiler would take
minutes or hours.

Kind regards

Bernd



Am 16.02.2018 um 20:18 schrieb Paul Gilmartin:
On 2018-02-16, at 11:33:05, Bernd Oppolzer wrote:

IMO, Niklaus Wirth ... came to this decision,
to allow numbers as labels only, and to force them to be declared before using
them.

The prior declaration is (almost) necessary for single-pass compilation.

We added identifiers as labels, BREAK, and CONTINUE.

-- gil

Reply via email to