Ngn/apl: Difference between revisions
Jump to navigation
Jump to search
Miraheze>Adám Brudzewsky No edit summary |
Miraheze>Adám Brudzewsky No edit summary |
||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:ngn/apl}} | |||
{{Infobox array language | {{Infobox array language | ||
| title = ngn/apl | | title = ngn/apl | ||
Line 15: | Line 16: | ||
| influenced by = [[Dyalog APL]] | | influenced by = [[Dyalog APL]] | ||
}} | }} | ||
An APL interpreter written Nick Nickolov in JavaScript, making it run in a under Node.js or in any modern browser. | An APL interpreter written Nick Nickolov in JavaScript, making it run in a under Node.js or in any modern browser. |
Revision as of 22:02, 12 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.