Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Peace was the way. -- Kirk, "The City on the Edge of Forever", stardate unknown


devel / comp.lang.apl / Hypothetical APL dialect that looks like the 1962 book

SubjectAuthor
* Hypothetical APL dialect that looks like the 1962 bookluserdroog
`- Re: Hypothetical APL dialect that looks like the 1962 bookluserdroog

1
Hypothetical APL dialect that looks like the 1962 book

<197e10f5-c514-4eb1-aee9-cd2fae21ca11n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=3407&group=comp.lang.apl#3407

  copy link   Newsgroups: comp.lang.apl
X-Received: by 2002:a05:622a:14:: with SMTP id x20mr11838691qtw.671.1640569023121;
Sun, 26 Dec 2021 17:37:03 -0800 (PST)
X-Received: by 2002:a25:aa4f:: with SMTP id s73mr5826038ybi.636.1640569022824;
Sun, 26 Dec 2021 17:37:02 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.apl
Date: Sun, 26 Dec 2021 17:37:02 -0800 (PST)
Injection-Info: google-groups.googlegroups.com; posting-host=97.87.183.68; posting-account=G1KGwgkAAAAyw4z0LxHH0fja6wAbo7Cz
NNTP-Posting-Host: 97.87.183.68
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <197e10f5-c514-4eb1-aee9-cd2fae21ca11n@googlegroups.com>
Subject: Hypothetical APL dialect that looks like the 1962 book
From: luser.dr...@gmail.com (luserdroog)
Injection-Date: Mon, 27 Dec 2021 01:37:03 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 33
 by: luserdroog - Mon, 27 Dec 2021 01:37 UTC

Now that it's the future and all, are there any technical obstacles
remaining that would prevent the existence of an APL dialect that
looks like the code from Iverson's 1962 /A Programming Language/?

I'm not sure how to rank the *severity* of these differences, so this
list is in order of how surprising it is (to me):

Variables have one of 4x4 types where the field can be (Logical,
Integral, Numerical, or Arbitrary) and the dimension can be
(Scalar, Vector, Matrix, or Tree).

Instead of using monadic rho to access the dimensions of an
object, there are mu(), nu(), delta(), and lambda() which yield
respectively column dimension, row dimension, degree of a tree
node, and number of leaves in a tree.

Column operations use a doubled symbol. Indexing uses superscripts
and subscripts.

File operations all use the magical Phi doohicky which can take subscript,
superscript, and a pre-subscript and can appear on the left or right of
specification arrow.

So the first major challenge appears to me to be designing an intermediate
representation for the editor/typesetter and interpreter/compiler to
work with. IIRC, this is similar to Algol 68 where the source could be
represented in multiple forms (linear form for entering with terminal
or keypunch, presentation form for putting in books). But here, in order
to make the presentation form pretty, the linear form will need to get
ugly I fear.

Has anyone tried to do something like this or given it more thought in
all these years?

Re: Hypothetical APL dialect that looks like the 1962 book

<b165a553-91f5-41d4-96c2-ec1cf48d3c48n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=3409&group=comp.lang.apl#3409

  copy link   Newsgroups: comp.lang.apl
X-Received: by 2002:ad4:5b82:: with SMTP id 2mr9656191qvp.22.1642900775264;
Sat, 22 Jan 2022 17:19:35 -0800 (PST)
X-Received: by 2002:a25:2c8:: with SMTP id 191mr14800006ybc.225.1642900775008;
Sat, 22 Jan 2022 17:19:35 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.apl
Date: Sat, 22 Jan 2022 17:19:34 -0800 (PST)
In-Reply-To: <197e10f5-c514-4eb1-aee9-cd2fae21ca11n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=97.87.183.68; posting-account=G1KGwgkAAAAyw4z0LxHH0fja6wAbo7Cz
NNTP-Posting-Host: 97.87.183.68
References: <197e10f5-c514-4eb1-aee9-cd2fae21ca11n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <b165a553-91f5-41d4-96c2-ec1cf48d3c48n@googlegroups.com>
Subject: Re: Hypothetical APL dialect that looks like the 1962 book
From: luser.dr...@gmail.com (luserdroog)
Injection-Date: Sun, 23 Jan 2022 01:19:35 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 8
 by: luserdroog - Sun, 23 Jan 2022 01:19 UTC

On Sunday, December 26, 2021 at 7:37:03 PM UTC-6, luserdroog wrote:
> Now that it's the future and all, are there any technical obstacles
> remaining that would prevent the existence of an APL dialect that
> looks like the code from Iverson's 1962 /A Programming Language/?
>

I've made a start. I'm using javascript/html/css as an prototyping
environment. So for the forseesable future, postings about this
nascent interpreter will be found in the comp.lang.javascript newsgroup.

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor