TinyAPL: Difference between revisions

From APL Wiki
Jump to navigation Jump to search
(Mention first class functions and namespaces)
(io 0)
 
(5 intermediate revisions by 2 users not shown)
Line 2: Line 2:
| logo                    = [[file:tinyapl_logo.png]]
| logo                    = [[file:tinyapl_logo.png]]
| array model              = [[nested array model|nested]]
| array model              = [[nested array model|nested]]
| index origin            = 1
| index origin            = 0
| function styles          = [[dfn]], [[tacit]]
| function styles          = [[dfn]], [[tacit]]
| numeric types            = [[complex]] float
| numeric types            = [[complex]] float
Line 8: Line 8:
| released                = 2024
| released                = 2024
| developer                = Madeline Vergani
| developer                = Madeline Vergani
| latest release version  = 0.6.0.0 / 2024
| latest release version  = 0.10.0.1 / 2024
| implementation language  = [[wikipedia:Haskell|Haskell]]
| implementation language  = [[wikipedia:Haskell|Haskell]]
| source                  = [https://github.com/RubenVerg/tinyapl Github]
| source                  = [https://github.com/RubenVerg/tinyapl Github]
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]]. It also has support for first-class functions and operators and [[namespace|namespaces]].
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 function]]s and operators, and [[namespace]]s.


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

Latest revision as of 20:55, 27 October 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