4 ms·
My C and C++ compilers (Datalight, Zortech) only required 2 passes: 1. preprocessor/parser/semantic all at once 2. optimizer (optional) 3. code generator La
by WalterBright 2y ago
My C and C++ compilers (Datalight, Zortech) only required 2 passes:
1. preprocessor/parser/semantic all at once
2. optimizer (optional)
3. code generator
Later on in the 80s these were merged into one executable.
- EVa5I7bHFq9mnYK 2y agoCPP C0 C1 C2 AS LD And an optional AR
- WalterBright 2y agoI know what the conceptual passes are, but ZTC merged them, including the multiple conceptual passes the CPP does.
- EVa5I7bHFq9mnYK 2y agoThose were not conceptual passes, but actual standalone programs executed in that order, to compile a C program. Each program operated within 64KB RAM, shared with the OS and all the drivers.
- WalterBright 2y agoAnd Zortech C, for 64K machines, had two standalone programs to compile a C program to an object file.
- EVa5I7bHFq9mnYK 2y agoCudos to Zortech C