Co-dfns: Difference between revisions

From APL Wiki
Jump to navigation Jump to search
No edit summary
m (Co-dfns supports full nesting now)
 
(5 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]])
Line 17: Line 17:
| documentation            = [https://github.com/Co-dfns/Co-dfns/blob/master/docs/MANUAL.md Manual]
| documentation            = [https://github.com/Co-dfns/Co-dfns/blob/master/docs/MANUAL.md Manual]
| influenced by            = [[Dyalog APL]]
| influenced by            = [[Dyalog APL]]
| influenced              = [[BQN]]<ref>[[Marshall Lochbaum]]. [https://mlochbaum.github.io/BQN/implementation/codfns.html Co-dfns versus BQN's implementation]. Accessed 2021-04-12.</ref>
}}
}}


'''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 [[vector]]s to represent [[tree]]s. 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.
'''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 [[vector]]s to represent [[tree]]s. 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 ==
<references/>


{{APL dialects}}[[Category:APL dialects]][[Category:Ahead-of-time compilers]][[Category:Nested array languages]][[Category:Leading axis languages]][[Category:Languages with tacit programming]]
{{APL dialects}}[[Category:APL dialects]][[Category:Ahead-of-time compilers]][[Category:Nested array languages]][[Category:Leading axis languages]][[Category:Languages with tacit programming]]

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 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