dzaima/APL

From APL Wiki
Jump to navigation Jump to search



dzaima/APL is an implementation of APL in Java, created and maintained by Stack Exchange user dzaima. It is primarily based on Dyalog APL, but handles some parts of the language more strictly and includes additional primitive functions and operators while adding dictionaries as a native datatype. It also includes Processing integration.

dzaima/APL adds many new primitives and extensions to existing primitives, most taken from or inspired by Adám Brudzewsky's experimental Extended Dyalog APL, for example:

  • Juxtapose ({ })
  • Select (0 99) a.k.a. "sane indexing", i.e. select major cells
  • Reverse compose ({(⍺⍺ ) ⍵⍵ } — compare with which is { ⍺⍺ (⍵⍵ )}

It also adds several unique additions from J and K:

  • Cumulative repeat (like but returns a list of iterations)
  • For each diagonal (J's /.)
  • and Each-left and Each-right (K's \: and /:)
dzaima/APL Android App

As of 2019, dzaima/APL is the only APL with a native dedicated Android app. This app wraps APL in an interface akin to that of graphic calculators.

External Links


APL dialects [edit]
Maintained APL+Win (APL*PLUS) ∙ APL2APL64APL\ivCo-dfnsDyalog APLdzaima/APLGNU APLNARS2000ngn/apl
Historical Iverson notationA Programming LanguageA+ (A) ∙ APL#APL.68000APL.SVAPLXAPL\1130APL\360NARSopenAPLRowanSHARP APL (SAX) ∙ VisualAPL (APLNext) ∙ VSAPLYork APL
Derivatives ELIJK (Q, KDB+) ∙ LYaPASNialRAD