Ngn/apl: Difference between revisions
Jump to navigation
Jump to search
Miraheze>Marshall (Lowercase name in infobox) |
Miraheze>Adám Brudzewsky No edit summary |
||
Line 16: | Line 16: | ||
}} | }} | ||
{{Actually|ngn/apl}} | |||
An APL interpreter written in JavaScript by Nick Nickolov. It can run in a browser or on NodeJS. | An APL interpreter written in JavaScript by Nick Nickolov. It can run in a browser or on NodeJS. |
Revision as of 20:26, 28 October 2019
- For technical reasons, this page is named "Ngn/apl". The actual name of the implementation is "ngn/apl".
An APL interpreter written in JavaScript by Nick Nickolov. It can run in a browser or on NodeJS.
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.