TinyAPL: Difference between revisions

From APL Wiki
Jump to navigation Jump to search
m (Takes a lot from Extended Dyalog, including things that aren't in Visions)
(Mention first class functions and namespaces)
Line 22: Line 22:
'''TinyAPL''' is an APL variant developed by Madeline Vergani, which supports a large number of primitives while maintaining a small source code size. It breaks [[backwards compatibility]] with existing APLs in major ways: for example, [[function axis]] and last-axis counterparts of first-axis primitives are removed in favor of [[leading axis theory]], and [[array notation]] is provided rather than [[strand notation]]. In order to give the language a [[wikipedia:context-free grammar|context-free grammar]], a spelling convention with capital letters for functions and underscores for operators is used (matching [[BQN]]'s convention, but like [[APL\iv]], spellings can't be varied, so that the spelling always matches the type). Similarly [[dop]]s are written with underscores next to braces.
'''TinyAPL''' is an APL variant developed by Madeline Vergani, which supports a large number of primitives while maintaining a small source code size. It breaks [[backwards compatibility]] with existing APLs in major ways: for example, [[function axis]] and last-axis counterparts of first-axis primitives are removed in favor of [[leading axis theory]], and [[array notation]] is provided rather than [[strand notation]]. In order to give the language a [[wikipedia:context-free grammar|context-free grammar]], a spelling convention with capital letters for functions and underscores for operators is used (matching [[BQN]]'s convention, but like [[APL\iv]], spellings can't be varied, so that the spelling always matches the type). Similarly [[dop]]s are written with underscores next to braces.


TinyAPL adds many primitives for mathematics, array manipulation, and [[tacit]] programming. It also uses an explicit syntax for function and operator [[train]]s, rather than the invisible notation used in [[J]] and [[Dyalog APL]]. It supports [[character arithmetic]].
TinyAPL adds many primitives for mathematics, array manipulation, and [[tacit]] programming. It also uses an explicit syntax for function and operator [[train]]s, rather than the invisible notation used in [[J]] and [[Dyalog APL]]. It supports [[character arithmetic]]. It also has support for first-class functions and operators and [[namespace|namespaces]].


== External links ==
== External links ==


* [https://blog.rubenverg.com/?tag=tinyapl TinyAPL] blog post series
* [https://blog.rubenverg.com/?tag=tinyapl TinyAPL] blog post series
{{APL dialects}}[[Category:APL dialects]][[Category:Nested array languages]][[Category:Leading axis languages]]
{{APL dialects}}[[Category:APL dialects]][[Category:Nested array languages]][[Category:Leading axis languages]][[Category:Languages with first-class functions]][[Category:Languages with tacit programming]]

Revision as of 13:48, 5 September 2024


TinyAPL is an APL variant developed by Madeline Vergani, which supports a large number of primitives while maintaining a small source code size. It breaks backwards compatibility with existing APLs in major ways: for example, function axis and last-axis counterparts of first-axis primitives are removed in favor of leading axis theory, and array notation is provided rather than strand notation. In order to give the language a context-free grammar, a spelling convention with capital letters for functions and underscores for operators is used (matching BQN's convention, but like APL\iv, spellings can't be varied, so that the spelling always matches the type). Similarly dops are written with underscores next to braces.

TinyAPL adds many primitives for mathematics, array manipulation, and tacit programming. It also uses an explicit syntax for function and operator trains, rather than the invisible notation used in J and Dyalog APL. It supports character arithmetic. It also has support for first-class functions and operators and namespaces.

External links

APL dialects [edit]
Maintained APL+WinAPL2APL64APL\ivApletteAprilCo-dfnsDyalog APLDyalog APL Visiondzaima/APLGNU APLKapNARS2000PometoTinyAPL
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