Ngn/apl: Difference between revisions
Jump to navigation
Jump to search
Miraheze>Adám Brudzewsky No edit summary |
Miraheze>Adám Brudzewsky |
||
Line 22: | Line 22: | ||
== External link == | == External link == | ||
* [http://archive.vector.org.uk/art10501160 ''Compiling APL to JavaScript''] article in the [[Vector Journal]] | |||
* [https://n9n.gitlab.io/apl/web/index.html Online demo] | * [https://n9n.gitlab.io/apl/web/index.html Online demo] | ||
* [https://plj541.github.io/APL.js/ Online session] | * [https://plj541.github.io/APL.js/ Online session] |
Revision as of 02:10, 13 November 2019
An APL interpreter written Nick Nickolov in JavaScript, making it run in a under Node.js or in any modern browser.
ngn/apl supports most primitives, dfns ({⍺ ⍵}
), nested arrays, complex numbers (1j2
), infinities (¯
or ∞
), Trains, strand assignment ((a b)←c
), indexed assignment (a[b]←c
), user-defined operators ({⍺⍺ ⍵⍵}
), but does not support tradfns (∇R←X f Y
), non-zero index origin (⎕IO
), comparison tolerance (⎕CT
), prototypes, modified assignment (x+←1
), Keywords (:If
), Object orientated programming, namespaces.