Re: [9fans] APL

2021-02-22 Thread tlaronde
Hello,

FWIW, I have put two versions I found under kergis.com downloads zone:

http://downloads.kergis.com/misc/apl4_0.tar.gz

and

http://downloads.kergis.com/misc/apl4_3.tar.gz

The version number is relative to the BSD version it was released with.

The 4.0 has a cat1 man page mentioning Ken Thompson (but it is not
present in apl.1?!!!).

The 4.3 version tells a story that links to what Charles told: Ken
Thompson wrote the Unix version, then went to Purdue and Berkeley. The
4.3 version is the Purdue version with modifications made, so is derived
from Ken Thompson's version.

In coding style, the versions are quite different. The sizes too!

T. Laronde

On Mon, Feb 22, 2021 at 12:35:56PM -0800, Lyndon Nerenberg (VE7TFX/VE6BBM) 
wrote:
> tlaro...@polynum.com writes:
> 
> > There are various versions of an APL interpreter and, amongst these,
> > a version by Ken Thompson, Ross Harvey, Douglas Lanam.
> >
> > Is that this one you are looking for?
> 
> That sounds like the one.  It's entirely possible the version I
> started with came from one of the BSD tapes (we were source
> licensed so we had the full set of tapes from V6 onwards).
> 
> I have the CSRG CD set, but it's in a box in a storage locker
> right now.  Is there any chance you could pull the above APL
> source files and leave them someplace I could grab them from?
> (9p.io would work fine.)
> 
> Thanks!
> 
> --lyndon

-- 
Thierry Laronde 
 http://www.kergis.com/
http://kertex.kergis.com/
   http://www.sbfa.fr/
Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C

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


[9fans] 2c/2l make sense, but why 1c/1l?

2021-02-22 Thread rt9f . 3141
Hello,

I'm wondering about the history of the 68000 compiler/tools.  Support for the 
68020 makes sense, it had an MMU, but 68000 did not.  And it had some design 
flaws that prevented it from working correctly with the external MMU, the 
68451.  So why does/did Plan 9 have a 68000 compiler?  Did Plan 9 ever run on 
an MMU-less 68000?

thx.
--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/Tf34475f1bb69674a-M62b7ac10b0006c58d077c900
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


Re: [9fans] APL

2021-02-22 Thread Bakul Shah



> On Feb 22, 2021, at 8:41 PM, o...@eigenstate.org wrote:
> 
> Quoth Lyndon Nerenberg (VE7TFX/VE6BBM) :
>> Steffen Nurpmeso writes:
>> 
>>> It can even be as small as 
>>> 
>>>  #?0|kent:unix-hist$ du -sh .
>>>  179M.
>>> 
>>> when not including all the new FreeBSD things (for which i at
>>> least track the FreeBSD git repository directly):
>> 
>> Okay, so what's the magic incantation to clone just that subset
>> of branches?  git-clone(1) is not helpful ...
>> 
>> --lyndon
> 
> On unix, this should do it:
> 
>git clone --single-branch \
>--branch Research-V4-Snapshot-Development \
>https://github.com/dspinellis/unix-history-repo
> 
> On plan 9, hot off the press:
> 
>git/clone -b $branch \
>https://github.com/dspinellis/unix-history-repo
> 
> Unfortunately, git9 has no fetch specs, so keeping a
> *set* of branches will be a bit clunky

For multiple branches try something like the following:

git clone https://github.com/dspinellis/unix-history-repo.git --depth 1 -b Epoch

Without the --depth 1 flag git insists on fetching all 1.9GB of git objects!
But +fetch= lines in .git/config's are not fixed up. As these branches are not
likely to change, that is probably ok.

Next run the following, editing out the branches you don't want.
This list is everything except FreeBSD branches. Amounts to 188MB.

git fetch origin 
386BSD-0.0-Snapshot-Development:386BSD-0.0-Snapshot-Development\
 386BSD-0.1-Snapshot-Development:386BSD-0.1-Snapshot-Development\
 386BSD-0.1-patchkit:386BSD-0.1-patchkit\
 386BSD-0.1-patchkit-Import:386BSD-0.1-patchkit-Import\
 386BSD-Release:386BSD-Release\
 BSD-1-Snapshot-Development:BSD-1-Snapshot-Development\
 BSD-2-Snapshot-Development:BSD-2-Snapshot-Development\
 BSD-3-Snapshot-Development:BSD-3-Snapshot-Development\
 BSD-4-Snapshot-Development:BSD-4-Snapshot-Development\
 BSD-4_1_snap-Snapshot-Development:BSD-4_1_snap-Snapshot-Development\
 BSD-4_1c_2-Snapshot-Development:BSD-4_1c_2-Snapshot-Development\
 BSD-4_2-Snapshot-Development:BSD-4_2-Snapshot-Development\
 BSD-4_3-Snapshot-Development:BSD-4_3-Snapshot-Development\
 BSD-4_3_Net_1-Snapshot-Development:BSD-4_3_Net_1-Snapshot-Development\
 BSD-4_3_Net_2-Snapshot-Development:BSD-4_3_Net_2-Snapshot-Development\
 BSD-4_3_Reno-Snapshot-Development:BSD-4_3_Reno-Snapshot-Development\
 BSD-4_3_Tahoe-Snapshot-Development:BSD-4_3_Tahoe-Snapshot-Development\
 BSD-4_4-Snapshot-Development:BSD-4_4-Snapshot-Development\
 BSD-4_4_Lite1-Snapshot-Development:BSD-4_4_Lite1-Snapshot-Development\
 BSD-4_4_Lite2-Snapshot-Development:BSD-4_4_Lite2-Snapshot-Development\
 BSD-Release:BSD-Release BSD-SCCS:BSD-SCCS\
 Bell-32V-Snapshot-Development:Bell-32V-Snapshot-Development\
 Bell-Release:Bell-Release 
Research-PDP7-Snapshot-Development:Research-PDP7-Snapshot-Development\
 Research-Release:Research-Release\
 Research-V1-Snapshot-Development:Research-V1-Snapshot-Development\
 Research-V2-Snapshot-Development:Research-V2-Snapshot-Development\
 Research-V3-Snapshot-Development:Research-V3-Snapshot-Development\
 Research-V4-Snapshot-Development:Research-V4-Snapshot-Development\
 Research-V5-Snapshot-Development:Research-V5-Snapshot-Development\
 Research-V6-Snapshot-Development:Research-V6-Snapshot-Development\
 Research-V7-Snapshot-Development:Research-V7-Snapshot-Development\
 usr/src/BSD-SCCS-Import:usr/src/BSD-SCCS-Import
--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T476a1d7b83269775-M164190580e3d2b269501e9f0
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


Re: [9fans] APL

2021-02-22 Thread Lyndon Nerenberg (VE7TFX/VE6BBM)
o...@eigenstate.org writes:

> git clone --single-branch \
> --branch Research-V4-Snapshot-Development \

I must be blind.  I completely glossed over 'single-branch'.
But I might have to go back to the SCCS archive on the CDs,
anyway, since Spinellis' repo doesn't seem to have preserved
the actual SCCS commit messages, just the fact they happened.

> On plan 9, hot off the press:
> git/clone -b $branch \

I don't have the native git installed yet.  This might be enough
to prod me into it.

Thanks!

--lyndon

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


Re: [9fans] patches from 9front

2021-02-22 Thread ori
Quoth David du Colombier <0in...@gmail.com>:
> > When I got git9 working on 9legacy, I backported a couple
> > of utilities and changes:
> > 
> > /n/sources/patch/walk
> > /n/sources/patch/rc-line-split
> 
> These patches are now part of 9legacy. Thanks!
> 

thank you :)

let me know if there's anything else you're interested
in cherry picking, happy to help prepare patches.


--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/Tc82939f1fda0e479-M324f5f9497b4ccf1556fa9f2
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


Re: [9fans] APL

2021-02-22 Thread ori
Quoth Lyndon Nerenberg (VE7TFX/VE6BBM) :
> Steffen Nurpmeso writes:
> 
> > It can even be as small as 
> >
> >   #?0|kent:unix-hist$ du -sh .
> >   179M.
> >
> > when not including all the new FreeBSD things (for which i at
> > least track the FreeBSD git repository directly):
> 
> Okay, so what's the magic incantation to clone just that subset
> of branches?  git-clone(1) is not helpful ...
> 
> --lyndon

On unix, this should do it:

git clone --single-branch \
--branch Research-V4-Snapshot-Development \
https://github.com/dspinellis/unix-history-repo

On plan 9, hot off the press:

git/clone -b $branch \
https://github.com/dspinellis/unix-history-repo

Unfortunately, git9 has no fetch specs, so keeping a
*set* of branches will be a bit clunky


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


Re: [9fans] Better Code Snippets & Suggestions

2021-02-22 Thread Skip Tavakkolian
My first reaction is that an RNN-based code generator trained on a
particular dataset (e.g. Plan 9 sources) might be more fruitful.

On Mon, Feb 22, 2021 at 3:08 PM William Linkmeyer  wrote:

> Dearest Nines,
>
> I’ve been reading these email chains for about three years now. You’ve all
> taught me quite a bit. I understand that this will be a bit off-topic as
> it’s not directly related to Plan9. So be it. I wanted to start a chain and
> chime in on something that I do have experience with.
> I’ve been developing a code suggestion platform. The concept is simple
> relatively simple. As the programmer is typing, patterns in the given code
> block are identified and compared to a database of tagged code snippets.
> The code snippet that is most relevant will be presented to the programmer
> as a suggestion.
> The code snippets all come originally from Stack Overflow, GitHub, and my
> own programs. I’m in the process of tagging these snippets for important
> features such as purpose, list of operations, any applicable design
> patterns, paradigms, etc. The more “essential” features are being tagged as
> well — features such as the number of arguments, return type, etc.
> It’s an interesting project to me. While I think that it’s going well, I’m
> certain that the large-brain folk here have important commentary on it.
>
> With Peace,
> Will
> *9fans * / 9fans / see discussions
>  + participants
>  + delivery options
>  Permalink
> 
>

--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T4f7afadf357a15b1-M37e90a17c9db8faca41e70c4
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


Re: [9fans] APL

2021-02-22 Thread Lyndon Nerenberg (VE7TFX/VE6BBM)
Steffen Nurpmeso writes:

> It can even be as small as 
>
>   #?0|kent:unix-hist$ du -sh .
>   179M.
>
> when not including all the new FreeBSD things (for which i at
> least track the FreeBSD git repository directly):

Okay, so what's the magic incantation to clone just that subset
of branches?  git-clone(1) is not helpful ...

--lyndon

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


Re: [9fans] APL

2021-02-22 Thread Bakul Shah
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  
> wrote:
> 
> It's more interesting that one is immediate by inspection. But why?
> 
> On Mon, Feb 22, 2021 at 11:10 PM Bakul Shah  > 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 > > 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 > > wrote:
>> On Feb 22, 2021, at 10:28 AM, tlaro...@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 
>> 
> 
> 9fans  / 9fans / see discussions 
>  + participants 
>  + delivery options 
> Permalink 
> 

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


Re: [9fans] APL

2021-02-22 Thread Steffen Nurpmeso
Bakul Shah wrote in
 <5c11a3ac-a66c-4336-bf37-55db2c4eb...@iitbombay.org>:
 |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 \

It can even be as small as 

  #?0|kent:unix-hist$ du -sh .
  179M.

when not including all the new FreeBSD things (for which i at
least track the FreeBSD git repository directly):

  #?0|kent:unix-hist$ cat .git/config
  [core]
  repositoryformatversion = 0
  filemode = true
  bare = false
  logallrefupdates = true
  precomposeunicode = true
  [remote "origin"]
  url = https://github.com/dspinellis/unix-history-repo.git
fetch = 
+refs/heads/386BSD-0.0-Snapshot-Development:refs/remotes/origin/386BSD-0.0-Snapshot-Development
fetch = 
+refs/heads/386BSD-0.1-Snapshot-Development:refs/remotes/origin/386BSD-0.1-Snapshot-Development
fetch = 
+refs/heads/386BSD-0.1-patchkit:refs/remotes/origin/386BSD-0.1-patchkit
fetch = 
+refs/heads/386BSD-0.1-patchkit-Import:refs/remotes/origin/386BSD-0.1-patchkit-Import
fetch = +refs/heads/386BSD-Release:refs/remotes/origin/386BSD-Release
fetch = 
+refs/heads/BSD-1-Snapshot-Development:refs/remotes/origin/BSD-1-Snapshot-Development
fetch = 
+refs/heads/BSD-2-Snapshot-Development:refs/remotes/origin/BSD-2-Snapshot-Development
fetch = 
+refs/heads/BSD-3-Snapshot-Development:refs/remotes/origin/BSD-3-Snapshot-Development
fetch = 
+refs/heads/BSD-4-Snapshot-Development:refs/remotes/origin/BSD-4-Snapshot-Development
fetch = 
+refs/heads/BSD-4_1_snap-Snapshot-Development:refs/remotes/origin/BSD-4_1_snap-Snapshot-Development
fetch = 
+refs/heads/BSD-4_1c_2-Snapshot-Development:refs/remotes/origin/BSD-4_1c_2-Snapshot-Development
fetch = 
+refs/heads/BSD-4_2-Snapshot-Development:refs/remotes/origin/BSD-4_2-Snapshot-Development
fetch = 
+refs/heads/BSD-4_3-Snapshot-Development:refs/remotes/origin/BSD-4_3-Snapshot-Development
fetch = 
+refs/heads/BSD-4_3_Net_1-Snapshot-Development:refs/remotes/origin/BSD-4_3_Net_1-Snapshot-Development
fetch = 
+refs/heads/BSD-4_3_Net_2-Snapshot-Development:refs/remotes/origin/BSD-4_3_Net_2-Snapshot-Development
fetch = 
+refs/heads/BSD-4_3_Reno-Snapshot-Development:refs/remotes/origin/BSD-4_3_Reno-Snapshot-Development
fetch = 
+refs/heads/BSD-4_3_Tahoe-Snapshot-Development:refs/remotes/origin/BSD-4_3_Tahoe-Snapshot-Development
fetch = 
+refs/heads/BSD-4_4-Snapshot-Development:refs/remotes/origin/BSD-4_4-Snapshot-Development
fetch = 
+refs/heads/BSD-4_4_Lite1-Snapshot-Development:refs/remotes/origin/BSD-4_4_Lite1-Snapshot-Development
fetch = 
+refs/heads/BSD-4_4_Lite2-Snapshot-Development:refs/remotes/origin/BSD-4_4_Lite2-Snapshot-Development
fetch = +refs/heads/BSD-Release:refs/remotes/origin/BSD-Release
fetch = +refs/heads/BSD-SCCS:refs/remotes/origin/BSD-SCCS
fetch = 
+refs/heads/Bell-32V-Snapshot-Development:refs/remotes/origin/Bell-32V-Snapshot-Development
fetch = +refs/heads/Bell-Release:refs/remotes/origin/Bell-Release
fetch = +refs/heads/Epoch:refs/remotes/origin/Epoch
fetch = 
+refs/heads/Research-PDP7-Snapshot-Development:refs/remotes/origin/Research-PDP7-Snapshot-Development
fetch = +refs/heads/Research-Release:refs/remotes/origin/Research-Release
fetch = 
+refs/heads/Research-V1-Snapshot-Development:refs/remotes/origin/Research-V1-Snapshot-Development
fetch = 
+refs/heads/Research-V2-Snapshot-Development:refs/remotes/origin/Research-V2-Snapshot-Development
fetch = 
+refs/heads/Research-V3-Snapshot-Development:refs/remotes/origin/Research-V3-Snapshot-Development
fetch = 
+refs/heads/Research-V4-Snapshot-Development:refs/remotes/origin/Research-V4-Snapshot-Development
fetch = 
+refs/heads/Research-V5-Snapshot-Development:refs/remotes/origin/Research-V5-Snapshot-Development
fetch = 
+refs/heads/Research-V6-Snapshot-Development:refs/remotes/origin/Research-V6-Snapshot-Development
fetch = 
+refs/heads/Research-V7-Snapshot-Development:refs/remotes/origin/Research-V7-Snapshot-Development
fetch = 
+refs/heads/usr/src/BSD-SCCS-Import:refs/remotes/origin/usr/src/BSD-SCCS-Import

--steffen
|
|Der Kragenbaer,The moon bear,
|der holt sich munter   he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)


Re: [9fans] APL

2021-02-22 Thread Charles Forsyth
It's more interesting that one is immediate by inspection. But why?

On Mon, Feb 22, 2021 at 11:10 PM Bakul Shah  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 
> 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  wrote:
>
>> On Feb 22, 2021, at 10:28 AM, tlaro...@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 / see discussions
>  + participants
>  + delivery options
>  Permalink
> 
>

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


Re: [9fans] APL

2021-02-22 Thread Bakul Shah
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  
> 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  > wrote:
> On Feb 22, 2021, at 10:28 AM, tlaro...@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 
> 
> 9fans  / 9fans / see discussions 
>  + participants 
>  + delivery options 
> Permalink 
> 

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


[9fans] Better Code Snippets & Suggestions

2021-02-22 Thread William Linkmeyer
Dearest Nines,

I’ve been reading these email chains for about three years now. You’ve all 
taught me quite a bit. I understand that this will be a bit off-topic as it’s 
not directly related to Plan9. So be it. I wanted to start a chain and chime in 
on something that I do have experience with.
I’ve been developing a code suggestion platform. The concept is simple 
relatively simple. As the programmer is typing, patterns in the given code 
block are identified and compared to a database of tagged code snippets. The 
code snippet that is most relevant will be presented to the programmer as a 
suggestion.
The code snippets all come originally from Stack Overflow, GitHub, and my own 
programs. I’m in the process of tagging these snippets for important features 
such as purpose, list of operations, any applicable design patterns, paradigms, 
etc. The more “essential” features are being tagged as well — features such as 
the number of arguments, return type, etc. 
It’s an interesting project to me. While I think that it’s going well, I’m 
certain that the large-brain folk here have important commentary on it.

With Peace,
Will
--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T4f7afadf357a15b1-Mde89233e3e131ea3f441c36d
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


Re: [9fans] APL

2021-02-22 Thread Charles Forsyth
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  wrote:

> On Feb 22, 2021, at 10:28 AM, tlaro...@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-Mae4997e3e15481dbbab01024
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


Re: [9fans] APL

2021-02-22 Thread Bakul Shah
On Feb 22, 2021, at 10:28 AM, tlaro...@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


Re: [9fans] APL

2021-02-22 Thread Charles Forsyth
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.

On Mon, Feb 22, 2021 at 8:37 PM Lyndon Nerenberg (VE7TFX/VE6BBM) <
lyn...@orthanc.ca> wrote:

> tlaro...@polynum.com writes:
>
> > There are various versions of an APL interpreter and, amongst these,
> > a version by Ken Thompson, Ross Harvey, Douglas Lanam.
> >
> > Is that this one you are looking for?
> 
> That sounds like the one.  It's entirely possible the version I
> started with came from one of the BSD tapes (we were source
> licensed so we had the full set of tapes from V6 onwards).
> 
> I have the CSRG CD set, but it's in a box in a storage locker
> right now.  Is there any chance you could pull the above APL
> source files and leave them someplace I could grab them from?
> (9p.io would work fine.)
> 
> Thanks!
> 
> --lyndon

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


Re: [9fans] APL

2021-02-22 Thread Lyndon Nerenberg (VE7TFX/VE6BBM)
tlaro...@polynum.com writes:

> There are various versions of an APL interpreter and, amongst these,
> a version by Ken Thompson, Ross Harvey, Douglas Lanam.
>
> Is that this one you are looking for?

That sounds like the one.  It's entirely possible the version I
started with came from one of the BSD tapes (we were source
licensed so we had the full set of tapes from V6 onwards).

I have the CSRG CD set, but it's in a box in a storage locker
right now.  Is there any chance you could pull the above APL
source files and leave them someplace I could grab them from?
(9p.io would work fine.)

Thanks!

--lyndon

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


Re: [9fans] patches from 9front

2021-02-22 Thread David du Colombier
> When I got git9 working on 9legacy, I backported a couple
> of utilities and changes:
> 
> /n/sources/patch/walk
> /n/sources/patch/rc-line-split

These patches are now part of 9legacy. Thanks!

-- 
David du Colombier

--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/Tc82939f1fda0e479-M80caff72593484c960b034e6
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


Re: [9fans] APL

2021-02-22 Thread tlaronde
Hello,

I have the CSRG Archives CDROM set, with archives from 1978 to 1993
and final 4.4 and 4.4BSD-Lite2.

There are various versions of an APL interpreter and, amongst these,
a version by Ken Thompson, Ross Harvey, Douglas Lanam.

Is that this one you are looking for?

Apparently Caldera has granted a free licence to use, modify and
redistribute files for 16bit PDP-11 and early 32bits Unix (version
1 to 7) and it seems it covers this (since the BSD were derived
from and then reimplemented the software to get rid of the licence).

The CD set is available from
https://www.mckusick.com/csrg/cdorderform.html

If I'm not mistaken about the Caldera licence, I can place somewhere
a tarball with this APL code, if this is what you are interested in
(but I would like to be sure I'm not violating someone licence or
copyright before doing so).
-- 
Thierry Laronde 
 http://www.kergis.com/
http://kertex.kergis.com/
   http://www.sbfa.fr/
Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C

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


Re: [9fans] APL

2021-02-22 Thread arnold
j...@corpus-callosum.com wrote:

> Lyndon,
>
> Let us know if you find that source as it unfortunately doesn't appear to be 
> on netlib.org.
>
> P.S.  Yes I know there are a million other APLs out there, as
> well as J and the assorted follow-ons.  It's the V7 code I'm
> specifically interested in.  Maybe it's tucked away in the
> bitsaver archives ...

Have you checked the TUHS archives? V7 source is there, it should
be all of it...

Arnold

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


Re: [9fans] APL

2021-02-22 Thread jas
Lyndon,

Let us know if you find that source as it unfortunately doesn't appear to be on 
netlib.org.

P.S.  Yes I know there are a million other APLs out there, as
well as J and the assorted follow-ons.  It's the V7 code I'm
specifically interested in.  Maybe it's tucked away in the
bitsaver archives ...


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