Ngn/apl: Difference between revisions
Jump to navigation
Jump to search
Miraheze>Marshall mNo edit summary |
Miraheze>Marshall (Lowercase name in infobox) |
||
Line 1: | Line 1: | ||
{{Infobox array language | {{Infobox array language | ||
| title = ngn/apl | |||
| array model = [[nested array model|nested]] | | array model = [[nested array model|nested]] | ||
| index origin = 0 | | index origin = 0 |
Revision as of 13:51, 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.