Co-dfns: Difference between revisions

From APL Wiki
Jump to navigation Jump to search
(Influenced BQN)
m (Co-dfns supports full nesting now)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Infobox array language
{{Infobox array language
| logo                    = [[File:Co-dfns logo.png|none]]
| logo                    = [[File:Co-dfns logo.png|none]]
| array model              = [[Flat array model|flat]], limited [[Nested array model|nested array]] support
| array model              = [[nested array model|nested]]
| index origin            = 0
| index origin            = 0
| function styles          = [[dfn]], [[tacit]]
| function styles          = [[dfn]], [[tacit]]
Line 7: Line 7:
| released                = 2014-10-07
| released                = 2014-10-07
| developer                = [[Aaron Hsu]]
| developer                = [[Aaron Hsu]]
| latest release version  = 2.0.1 / 2021-01-22
| latest release version  = 5.4.0 / 2023-12-11
| implementation language  = [[Dyalog APL]]
| implementation language  = [[Dyalog APL]]
| platforms                = CPU (compiles to [[wikipedia:C (programming language)|C]]), GPU (via [[wikipedia:ArrayFire|ArrayFire]])
| platforms                = CPU (compiles to [[wikipedia:C (programming language)|C]]), GPU (via [[wikipedia:ArrayFire|ArrayFire]])

Latest revision as of 03:01, 21 February 2024


Co-dfns is a compiler for a subset of Dyalog APL developed by Aaron Hsu, designed to target and run on GPUs. The implementation is notable for its use of vectors to represent trees. While the implementation is extremely terse and largly uncommented, the code is described in detail in Hsu's doctors thesis, wherein he also claims that the performance and maintainability of the compiler could not be achieved with any language other than APL.

References


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