From 1ed779f6b9c3c19d2188e818fe6785a71c6537ba Mon Sep 17 00:00:00 2001 From: Marshall Lochbaum Date: Sun, 20 Sep 2020 15:16:59 -0400 Subject: Add major terminology changes to fromDyalog.md --- docs/doc/fromDyalog.html | 63 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) (limited to 'docs/doc') diff --git a/docs/doc/fromDyalog.html b/docs/doc/fromDyalog.html index 809575cb..be98d6ce 100644 --- a/docs/doc/fromDyalog.html +++ b/docs/doc/fromDyalog.html @@ -6,6 +6,69 @@

BQN–Dyalog APL dictionary

A few tables to help users of Dyalog APL (or similar) get started quickly on BQN. Here we assume ML is 1 for Dyalog.

+

Terminology

+

Array model

+

BQN uses the based array model, so that a Dyalog's simple scalar corresponds to many BQN values: an atom, its enclose, and so on.

+ + + + + + + + + + + + + + + + + + + + + + + + + +
DyalogBQN
Simple scalarAtom
ScalarUnit
VectorList
MatrixTable
+

BQN shares the terms "cell" and "major cell" with Dyalog, and uses +"element" (which may mean different things to different Dyalog users) not for a 0-cell but for the value it contains.

+

Roles

+

Dyalog uses value types (array, function, and so on) to determine syntax while BQN uses a separate concept called syntactic roles. See context-free grammer.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Dyalog typeBQN role
ArraySubject
FunctionFunction
Monadic operator1-modifier
Dyadic operator2-modifier
Niladic functiongo away

For reading

Here are some closest equivalents in Dyalog APL for the BQN functions that don't use the same glyphs as APL. Correspondence can be approximate, and is just used as a decorator to mean "reverse some things".

-- cgit v1.2.3