Hacker News new | ask | show | jobs
by harperlee 35 days ago
APL was designed to be written on a chalkboard (if I remember the story right). It is quite dense, and programs are quite small. Reading is slow and requires you to ponder about what was written. You can hold a lot of content in a small amount of 'ink'.

Now, an idea: HN is always complaining that an ipad (or any other tablet) is a consumption device, as it is not designed to be used with keyboard/mouse. Do any of you know if there is an app where you can write APL with a stylus, and has the ability to evaluate expression on the fly, similar to a repl? That would be an awesome thing to do.

4 comments

Here's a demonstration where APL is written on a typewriter thing: https://www.youtube.com/watch?v=_DTpQ4Kk2wA&t=208
The Raspberry Pi and probably other versions of Dyalog APL has all the characters visible across the window and is interactive with a REPL.
On-screen tablet/phone keyboards seem perfect for apl to me.

There’s an iOS port of J but it’s no longer available on the App Store.

J is unclear on the concept, it's a hack to port APL to ASCII. I'm typing on a ZMK keyboard now where an APL unicode layer would be trivial. There are modern APLs. One can code a iOS keyboard with AI help.

While a native APL would be nice, the cloud solution would be robust access to a professional product. Build the chain via existing tools to bridge the iPad to APL running on a desktop machine.

I looked into this recently; but I've decided on Lean 4 as the successor "best language in existence" for my needs.

My recent language comparison: https://github.com/Syzygies/Compare

My APL one-liner story: https://news.ycombinator.com/item?id=27460887