tlaro...@polynum.com wrote: > On Mon, Feb 22, 2021 at 09:44:54PM +0000, Charles Forsyth wrote: > > I'm fairly sure Thompson wrote it on sabbatical in Berkeley. I think he > > also wrote the first version of a Pascal compiler. > > Pascal isn't a difficult language but I remember that compiler having an > > unusual style. I think others reworked it significantly later, > > so if it's there at all it's worth looking at the earliest possible one. > > > > The Pascal compiler rings a bell... It would be fun indeed to derived a > version from it so that, finally, TeX and al. could be "natively" > compiled instead of converting the (pseudo) Pascal to C (this is web2c > purpose or, as I have named it, pp2rc---Pseudo Pascal to Raw C).
There was an interpreter for P-code and (I think later) a compiler for the Vax. You'd have to port it to current architectures, and compiling TeX would probably make TeX run more slowly than the C version. The Berkeley Pascals were some of the compilers used for "Software Tools in Pascal". Arnold ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T476a1d7b83269775-M29f8ec6d6c8474c6d36e66e1 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription