Xs: Difference between revisions

From APL Wiki
Jump to navigation Jump to search
(Created page with "{{Infobox array language | array model = lists | index origin = 0 | function styles = tacit | numeric types = integer, float | file ext = .xs | released = 2020 | developer = Sturm Mabie | latest release version = 2020 (unversioned) | implementation language = Ocaml | source = [https://github.com/smabie/xs GitHub] | platfo...")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{DISPLAYTITLE:xs}}
{{Infobox array language
{{Infobox array language
| title                    = xs
| array model              = [[List model|lists]]
| array model              = [[List model|lists]]
| index origin            = 0
| index origin            = 0
Line 23: Line 25:
* [https://concatenative.org/wiki/view/xs xs] on the concatenative language wiki
* [https://concatenative.org/wiki/view/xs xs] on the concatenative language wiki


{{APL dialects}}[[Category:Programming languages]][[Category:Stack-based languages]][[Category:ASCII languages]]
{{APL dialects}}[[Category:List-based array languages]][[Category:Stack-based languages]][[Category:ASCII languages]]

Latest revision as of 22:46, 24 January 2024



xs is a minimal stack-based language with an array model and built-in functions that resemble Q. Unlike most stack-based languages, xs is evaluated from right to left, and to provide more Q-like syntax, it also allows "operators" that take one argument on the left. Functions are defined with parentheses, allowing nesting, and are dynamically scoped. Like Q, it has separate integer and float types, as well as a symbol type distinct from strings. However, it has no dict type.

External links

  • xs on the concatenative language wiki


APL dialects [edit]
Maintained APL+WinAPL2APL64APL\ivApletteAprilCo-dfnsDyalog APLDyalog APL Visiondzaima/APLGNU APLKapNARS2000Pometo
Historical A Programming LanguageA+ (A) ∙ APL#APL2CAPL\360APL/700APL\1130APL\3000APL.68000APL*PLUSAPL.jlAPL.SVAPLXExtended Dyalog APLIverson notationIVSYS/7090NARSngn/aplopenAPLOperators and FunctionsPATRowanSAXSHARP APLRationalized APLVisualAPL (APLNext) ∙ VS APLYork APL
Derivatives AHPLBQNCoSyELIGleeIIvyJJellyK (Goal, Klong, Q) ∙ KamilaLispLang5LilNialRADUiua
Overviews Comparison of APL dialectsTimeline of array languagesTimeline of influential array languagesFamily tree of array languages