3 ms·
A lot of people in this subthread are echoing this, but it's at most maybe very slightly easier. For example, TinyCC is a one-pass C compiler and yet C has sub
by cb321 1y ago
A lot of people in this subthread are echoing this, but it's at most maybe very slightly easier. For example, TinyCC is a one-pass C compiler and yet C has sub-scopes int foo() { /.../ { int x; /.../ } }. The same could be said of Ken Thompson's C compiler which I believe was also one-pass.
Does Titania not have/intend to have lexically local subscopes? That would seem very un-Wirthian to me.
- munificent 1y agoOne difference here might be that most Pascals support local functions and C does not.