Clearly someone ran lint on the ucb code :-) Both have the iline variable
(char* on Cain's version, unsigned char* in ucb).

On Feb 22, 2021, at 3:56 PM, Charles Forsyth <charles.forsyth@gmail.com> wrote:

It's more interesting that one is immediate by inspection. But why?

On Mon, Feb 22, 2021 at 11:10 PM Bakul Shah <bakul@iitbombay.org> wrote:
Spinellis has put together a browsable repo based on various source distributions
which I find useful. I keep a local copy as it is under 2GB. All I had to do was 

git log | less -ip "ross harvey"

Michael Cain's version on sigapl.org site seems to be a different fork. Also worked
over quite a bit.

On Feb 22, 2021, at 2:43 PM, Charles Forsyth <charles.forsyth@gmail.com> wrote:

It's amusing that the github has "42 years ago".

You can tell instantly that the line
if (TERMtype == 0)c = (int)*iline++;
wasn't written by Thompson.

On Mon, Feb 22, 2021 at 10:02 PM Bakul Shah <bakul@iitbombay.org> wrote:
On Feb 22, 2021, at 10:28 AM, tlaronde@polynum.com wrote:
>
> There are various versions of an APL interpreter and, amongst these,
> a version by Ken Thompson, Ross Harvey, Douglas Lanam.

This can be found in Diomidis Spinellis' unix history repo @

https://github.com/dspinellis/unix-history-repo/tree/BSD-3/usr/src/cmd/apl

Synthesized from 3bsd, which you can find it here:

https://www.tuhs.org/Archive/Distributions/UCB/3bsd.tar.gz

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T476a1d7b83269775-M6b93af6ab332e6cbfb8ca7c7
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription