Skip to content

Releases

Adin APL 3.0.6 (Android 2.0.9)

Choose a tag to compare

@mayer-goldberg mayer-goldberg released this 01 Dec 21:48

Adin APL — what's new in desktop 3.0.6 and Android 2.0.9

A small update to 3.0.5 / 2.0.4 of 2026-12-01: the Android app's drawing pad knows APL's glyphs from the start, and
assigning to one item at a time is fast on the phone.

The drawing pad (Android)

  • It knows the glyphs from the start. The app comes with examples of each glyph drawn by the author, so it
    recognises that handwriting at once, before you have taught it anything; each glyph you pick teaches it yours, and
    your own examples count a little more than the author's. Manual: "First steps", the drawing key.
  • At most 60 examples of a glyph are used: yours first, the author's newest for the rest, so the author's drop out
    of use as yours grow; none is deleted. Once you have drawn 60 of a glyph, a new one replaces your oldest.
  • Faster recognition: the same candidates as before, found about 1.5 times as fast.

Faster on the phone

  • X[I]←V changes the array in place when nothing else holds it, as the desktop already did: a loop that fills a
    vector one item at a time no longer slows down as the vector grows (100,000 items: about four times as fast, and
    more the longer the vector). Nothing changes in what any program computes.

Upgrading

Install the new .apk over the old one, or the .deb over the old one: your images, workspaces, settings and the
glyphs your drawing pad has learned stay as they are.

Adin APL 3.0.5 (Android 2.0.4)

Choose a tag to compare

@mayer-goldberg mayer-goldberg released this 01 Dec 00:56

Adin APL — what's new in desktop 3.0.5 and Android 2.0.4

A small update to 3.0.0 / 2.0.0 of 2026-11-30, chiefly for the Android app's drawing pad, after a user's report.

The drawing pad (Android)

  • "fire when recognized": a small square at the right of the drawing pad, under the line being typed, like the
    Pause squares. It is off at first: a drawing only shows the glyphs it may be, and nothing is typed until you tap
    one of them, Done, or ⌨? for a glyph not offered. Turned on, a drawing that only one glyph fits is typed by itself, as
    it was before. The phone keeps your choice. Manual: "First steps", the drawing key.
  • Why it changed. A new installation knows no glyph, and learns each from the drawings you tap. While it knew a
    single glyph, that glyph was the only one that fitted every drawing, so everything drawn was typed as it at once, with
    no chance to choose. With the square off, you always choose.
  • A fault fixed in the recognizer. A glyph drawn in several strokes, such as ⍝, was taken as complete after its first
    stroke when the pad had no example that short of any glyph: with only ⍝ taught, the first stroke of any drawing was
    typed as ⍝ before the second could be drawn. Now a glyph that needs more strokes waits for them.

Fixed

  • Under ⎕DIALECT←'dyalog', an unpaired quote says SYNTAX ERROR: Unpaired quote, and an operator with its right
    operand bound, named and shown alone (rows←(⍤1)), shows as ⍤ 1, as in Dyalog. Both were found by comparing the
    manual's new examples with Dyalog before release.

The manual

  • The list of tables names each table once; the long tables of "Which system has what" are named by their part.
  • Dyalog's version is named in one place, as its latest version; the help of the system functions that follow Dyalog
    says "Dyalog's" (desktop and phone).

Upgrading

Install the new .apk over the old one, or the .deb over the old one: your images, workspaces, settings and the
glyphs your drawing pad has learned stay as they are.

Adin APL 3.0.0 (Android 2.0.0)

Choose a tag to compare

@mayer-goldberg mayer-goldberg released this 30 Nov 02:16

The previous public release was on 2026-11-15: desktop 1.250.1430 and Android 0.71.400. Everything below has come since
then. The manual describes all of it, and each item names the chapter or appendix where it is explained. Many faults
were fixed along the way, and full reviews of the code and of the manual were worked through; they are not listed here.

The image: the workspace kept as objects

  • Every session works on an image. The session window, a session typed at the terminal and the Emacs session each
    keep their work in one file ending in .aplimage, which they open again at every start; such a session is called
    sticky. The first start asks for an image, a new one or one you have, and remembers it. Manual: "Keeping data in
    files", "Working in the IDE".
  • Nothing has to be saved. After every line the image is brought up to date with what that line changed, and with
    nothing else, so a large value is written once and never again while it stays as it is. The image is also brought up
    to date when the session ends in any way. Manual: "Keeping data in files".
  • Values kept as data, objects as themselves. An array is kept as its shape and items, every digit of every number
    (decimals and exact fractions too), a function as its source, a namespace, an instance, a class or a date as itself. A
    namespace that two names held is still one namespace after the image is opened again. Manual: "Working in the IDE".
  • Opening an image recomputes nothing. The values are read as they were stored, and a function's text is read when
    the function is first used. Opening an image keeps its ⎕LX and does not run it, since the image is the same session
    going on; )LOAD runs it as before. Manual: "Working in the IDE".
  • A library copied by ⎕CY comes back as the copy. The image keeps the ⎕CY itself and copies the library again
    from its file when its names are first used; a library changed since then is kept as data. Manual: "Working in the
    IDE".
  • What the image cannot keep is said once. A Python object, for instance, is named once ("Not in the image: …"),
    and everything else is kept. An erased large value gives back its room in the file. Manual: "Keeping data in files".
  • )CLEAR and )LOAD begin a new image. After )CLEAR the session goes on in a new image named by the date, and
    after )LOAD in one named after the workspace; the image before is left as it was. Manual: "Keeping data in files".
  • A copy as it was opened. Each opening keeps the image as it was then beside it, under the same name with ~ after
    it. Manual: "Keeping data in files".
  • The image menus. In the session window, File ▸ New image…, Open image…, Save image and Save image as… (which copies
    the image to a new file and goes on in it); Ctrl+S and Ctrl+Shift+S are Save image and Save image as… in a window that
    works on an image. The window's title names the image. Desktop. Manual: "First steps", "Working in the IDE".
  • One image at a time. An image is held by the session that has it open; another session is asked to pick another.
    Manual: "Working in the IDE".
  • )SAVE and )LOAD are for export and import. They still write and read the workspace as a file of APL text. A
    saved workspace now keeps what each function shows (b←6+3 3⍴⍳ shows 6+3 3⍴⍳ after )LOAD), and keeps ⎕NULL.
    Manual: "Keeping data in files".
  • )CONTINUE, as in APL2, GNU APL and Dyalog: the workspace saved as CONTINUE and the session ended. A session that
    is not sticky starts with it next time, saying when it was saved, without running its ⎕LX. --noCONT starts clear,
    and --sticky=true|false chooses whether a session works on an image (a script, apl -e and a pipe do not, unless
    asked). Manual: "Keeping data in files", "System variables, functions and commands".
  • The same image on the phone and the computer. The phone keeps its work in images of the same form, so an image
    made on one opens on the other. Manual: "The Android app".

The session window and the IDE (desktop)

  • Edit ▸ System Variables…, a dialog of its own: every system variable that sets how the interpreter behaves, with a
    sentence on each and its value; choosing a value types its assignment in the session, and Undo types the old value.
    Manual: "First steps", "Working in the IDE".
  • Edit ▸ Properties… ▸ Location sets the place used by the calendars and ⎕HERE: a city chosen as its name is
    typed, a latitude and longitude, or the network asked once, chosen from the menu Source. Manual: "First steps",
    "Calendars and dates".
  • Help ▸ The manual (PDF) opens the book in a window of its own (in Chromium or Google Chrome when either is there,
    else the desktop's PDF viewer), where you left it, even after an upgrade to a newer version of the book; a link into
    the book, such as a key's help, opens at its place. Its bar holds the contents, search, the page number, zoom and
    Download. Manual: "Working in the IDE".
  • Help ▸ Glyph chart is gone. The virtual keyboard shows every glyph, and )HELP and What a key does say what each
    one does. The book's glyph chart stays. Manual: "Working in the IDE".
  • The menu of a name in the Functions and operators window, on a right-click: Open, Rename…, History, Who uses it,
    Delete, Undo and Redo. Manual: "Working in the IDE".
  • Reformat, Edit ▸ Reformat (Ctrl+Shift+F) in a function's window and a file's: spaces the selection, or every line,
    as apl --format does, and indents it; each line keeps its place, and one Undo restores the old layout. Manual: "Working in
    the IDE", "Tidying and typesetting APL".
  • Nothing you ask for while a line runs is lost. A Save in an editor, a line entered in an editor's REPL, Undo and
    Redo, deleting, installing, renaming, moving names, a file dropped, a micro-task's answer: each is kept and done when
    the line ends, in order, and says so. Manual: "Working in the IDE".
  • The object browser describes a value too large for its line in plain words (3 4 numbers), shows a dfn of several
    lines by its first line, and a value printed in an editor's REPL or Find by example's REPL opens a browser as in the
    session. Manual: "Working in the IDE".
  • ⎕ED opens a function made without lines of its own (a derived function, a train) as its assignment, edits a name
    in its namespace (⎕ED 'n.u'), and edits a dfn operator as a dfn.
    Manual: "Working in the IDE".

Completing names

  • A list of names while you type, in the session window and in a function's window: the workspace's names, after a
    dot a namespace's own, the system names with a few words of their help; Tab, or ↓ ↑ and Enter, take one, and Escape
    closes the list. Nothing goes in unless chosen. In a function's window its own names come first, and Tab takes the
    first name offered only when what you typed begins it or a word of it. Desktop. Manual: "Working in the IDE".
  • What is offered: paths of any depth; the public members of an instance or a class, never a private one; the members
    of ⎕DMX and ⎕SE; the system commands after a ) at the start of a line; the control words after a : that begins
    a statement (:endwh offers :EndWhile); on the desktop, the libraries not yet loaded, with the ⎕CY that loads
    them, and the names inside them. Manual: "First steps", "Working in the IDE".
  • Matches inside a name too. First the names that begin as typed, then those with a word after _ or . that begins
    so, then those that hold it anywhere: total also shows grand_total and subtotal, and ⎕DATE offers
    ⎕STRING_OF_DATE. Typed without a ⎕, DATE offers the system names last. The part that matches is in bold.
    Manual: "First steps", "Working in the IDE".
  • A likely typo is offered its near names, marked so (averge offers average). Manual: "Working in the IDE".
  • At the terminal, Tab completes a name as a shell does, and shows the list when several fit. Manual: "First
    steps".
  • In Emacs, completion-at-point (M-TAB) asks the running session, each name with its kind. Manual: "APL in
    Emacs".
  • On the phone, the names float above the input line, in green over the session. Manual: "First steps".

Find by example

  • Run ▸ Find by example… takes rows of a left argument (or none), a right argument and the result, and lists the
    short programs that give each row's result, shortest first: 123 456 → 56088 gives ×, beside it {⍺×⍵}.
    Programs that mean different things are listed apart; a click puts one in the session's line. Desktop and phone.
    Manual: "Working in the IDE", "The Android app".
  • It uses your own functions, dfns and traditional functions with a result that change nothing outside themselves,
    and the boxes may name your variables. Manual: "Working in the IDE".
  • The answers come as they are found, each in its place by its length, and the bar says how far the search has
    gone. Search deeper (Deeper on the phone) lets the search go on further without losing what it has done. Manual:
    "Working in the IDE".
  • A REPL at the bottom of the window; a click on an answer puts it there, to try on other arguments. A right-click
    copies the answers as text or as a picture, or exports them as PDF. Desktop. Manual: "Working in the IDE".
  • The search runs in a process of its own, its memory limited, so the session goes on meanwhile, and typing more or
    closing the window stops it. Manual: "Working in the IDE".

Refactoring and change sets (desktop)

  • Edit ▸ Rename… (F2) in a function's window renames the function and every use of it that the text settles, in
    the workspace and its namespaces, as one step of Undo; its history follows it. Manual: "Working in the IDE".
  • Edit ▸ Swap ⍺ and ⍵ makes a F b mean what b F a meant, and rewrites every call that the text settle...
Read more

Adin APL 1.250.1430 (Android 0.71.400)

Choose a tag to compare

@mayer-goldberg mayer-goldberg released this 14 Nov 22:33

Adin APL — release notes

Desktop 1.250.1430 and Android 0.71.400. The previous release was 2026-11-08 (desktop 1.215.858, Android 0.63.192); the previous one on GitHub was 1.173.849
(2026-11-04), and the notes below count from 1.215.858.

The manual describes everything below; each item names the chapter or appendix where it is explained.

A release of reviews

This release is mostly the work of two reviews and of what they found:

  • A review of the code, file by file, the desktop's interpreter and its windows, the C kernels, the Emacs mode, the
    tools and the Android version: every file read and its findings fixed, about 1,230 of them, each fixed one kept fixed by
    a test. The faults that lose work, give wrong answers or crash came first.
  • A review of the manual, chapter by chapter: 626 findings, from wrong statements to missing examples and pictures.
    Every claim about another APL was checked by running it (Dyalog APL 20, IBM's APL2/PC, ISO 13751's text), and corrected
    where it was wrong. The manual's examples run when the book is built; an example announced to fail must fail.
  • A stress tester, used in development, that types random input into the terminal and the window for hours, and
    reports each new crash, hang or internal error.
  • Every answered design decision checked against the program: six were found not yet done, and were done.

Since the last release, in numbers

  • 290 bugs fixed, each with its cause found and kept fixed by a test.
  • 4,293 unit tests on the desktop (3,166 at the last release).
  • 19,817 statements from APL books that serve as tests, as at the last release.

New, on the desktop

  • An IDE in the window of apl --gui. A window for each function, saved at once with no Save button; every version of
    every function kept in a change log, with its history and restore; change sets, filed out as plain APL; a change editor;
    an image that keeps the workspace and its history in one file; who uses a name; what a program needs before it is
    delivered. Manual: "Working in the IDE".
  • Rearranging a program into namespaces. The window shows the workspace's namespaces as a tree. Functions, operators
    and variables move from one namespace to another by dragging them onto it, one or several at once, or by the command
    Move to… (Ctrl+M) and the namespace's name. The code that uses them is rewritten so that it goes on meaning the same
    thing, Ctrl+L lists every line the move changed, and Undo takes the move back. So a program can be written at the top
    level first and put in order later. Manual: "Working in the IDE", "Moving names".
  • A debugger in the same windows: stops and traces in the margin, stepping, the stack and the local names, a stopped
    function mended and resumed. Manual: "The debugger".
  • Properties (Edit ▸ Properties…): line numbers in the exported PDFs and pictures, every nth line; and the system
    variables that set how the interpreter behaves, each chosen from a menu and typed in the session as its assignment
    (⎕IO←0), so that the line that does it is seen and learnt. Manual: "First steps".
  • New, Open and a drop on Load act at once, the workspace as it was kept first in a backup (the newest ten, in
    ~/.local/state/adin-apl/autosave). Manual: "Working in the IDE".
  • A bare )SERVE 'folder' shares the folder with every paired phone. Manual: "Keeping data in files".
  • The statistics, distributions and plots libraries: a distribution's parameters always a list of names, plot.box
    of groups of different sizes, plot.density shy, a bad plot option named in its message, axis labels as typed.
  • Control structures at the top level of the session and of a script under ⎕DIALECT←'dyalog', as Dyalog 20's session
    takes them.

New, on the phone (Android only)

  • The keyboard answers a touch: a key sinks and lights from below, with a short vibration. Manual: "First steps".
  • Properties (File ▸ Properties…), as on the desktop: the line numbers of the exports, the phone's settings, and the
    system variables typed in the session.
  • The menus reorganized: File, Communications (Connect to desktop…, Send the session to another app…), Help; Export ▸
    To PDF | To PNG. Every export says how many lines it holds.
  • Connect to desktop works by drag and drop between the computer's column and the phone's, with Undo, in place of
    marking files and pressing arrows.

Changes of behaviour

  • ⎕NREAD without a starting byte reads on from where the file stands, as Dyalog 20 does; it read from byte 0 each
    time.
  • Under ⎕DIALECT←'dyalog' the interpreter behaves strictly as Dyalog 20 wherever the two differed and Dyalog was run
    to check: ⎕AV, a name's class on assignment, constructors, interfaces, a private field assigned from outside, ⎕NINFO,
    ⎕NCOPY, ⎕STOP on a dfn, and more. The other dialects keep the standard's or APL2's behaviour. Manual: "Differences
    from other APLs".
  • '' ⎕NPUT file writes one empty line outside Dyalog's dialect (so ⎕NGET reads back what was written), an empty
    file under it.

Fixed

Among the fixes, those a user would have met: a program of the
gtk library hung in the window of apl --gui; the window of apl --gui could freeze when a line was entered, or end when the workspace was nearly full instead of saying WS FULL, and the .deb did not bring the package the window needs to draw; on the phone, the status line was too narrow to show any message, a second
launch could leave every line hanging, and the editor's arrows could not reach a blank first line.

Known issue

  • The window of apl --gui can still end, rarely, inside GTK's own drawing code while a function is suspended: about once
    in an hour of the stress tester's random input (several actions a second). Its cause is being looked for. What was
    saved before, in the session's image or in files, is not affected.

What is published

The sources of the desktop and the Android versions, the manual, and the built .deb and .apk. The tests are run
before every release, and are not published.

Adin APL 1.173.849

Choose a tag to compare

@mayer-goldberg mayer-goldberg released this 04 Nov 21:32

Adin APL 1.173.849 (desktop) and 0.21.183 (Android).

  • apl_1.173.849_amd64.deb: Ubuntu/Debian (also WSL): sudo apt install ./apl_1.173.849_amd64.deb.
    Then apl in a terminal, apl --gui for the window; the Emacs mode and the IBus APL keyboards come with it.
  • adin-apl-0.21.183.apk: the Android app (allow installing from this source when asked).
  • adin-apl-manual.pdf: the manual (also installed with the .deb, in /usr/share/doc/apl/manual).

Free software under the GNU General Public License, version 3 or later.