← Back to context

Comment by kazinator

4 years ago

> Caught me. I had recently heard that Arthur Whitney, author of the A+, k, and q languages (which are array programming languages like APL and J), would use the C preprocessor to create his own language and then write the implementation of his language in that self-defined language.

Stephen Bourne did this in the sources of the Bourne shell, around 1977, to make C look like Algol.

Here it is in V6 Unix, 1979:

https://www.tuhs.org/cgi-bin/utree.pl?file=V7/usr/src/cmd/sh...

https://www.tuhs.org/cgi-bin/utree.pl?file=V7/usr/src/cmd/sh...