3 ms·
The C compiler in this 1972 UNIX is written in an interesting early dialect: 1972 Modern ---- ------ foo; in
by jhallenworld 11y ago
The C compiler in this 1972 UNIX is written in an interesting early dialect:
1972 Modern
---- ------
foo; int foo;
foo 1; int foo = 1;
foo[]; int *foo;
foo[] 1, 2, 3; int foo[] = { 1, 2, 3 };
char foo[][]; char **foo;
No struct, union, or static. I'm wondering if locals not marked with auto are static. Also "extern foo" is used as a forward declaration to function or int foo.
No preprocessor.