Co-dfns: Difference between revisions

From APL Wiki
Jump to navigation Jump to search
(Compilers category)
m (Version bump)
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Infobox array language
{{Infobox array language
| logo                    = [[File:Co-dfns logo.png|none]]
| array model              = [[Flat array model|flat]], limited [[Nested array model|nested array]] support
| array model              = [[Flat array model|flat]], limited [[Nested array model|nested array]] support
| index origin            = 0
| index origin            = 0
Line 6: Line 7:
| released                = 2014-10-07
| released                = 2014-10-07
| developer                = [[Aaron Hsu]]
| developer                = [[Aaron Hsu]]
| latest release version  = 2.0.0 / 2020-12-20
| latest release version  = 3.0.0 / 2021-04-07
| implementation languages = Co-dfns, [[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]])
| operating systems        = Windows, Linux, macOS
| operating systems        = Windows, Linux, macOS
| license                  = [[wikipedia:GNU Affero General Public License|AGPLv3]]
| license                  = [[wikipedia:GNU Affero General Public License|AGPLv3]]
| website                  = [https://github.com/Co-dfns/Co-dfns Github]
| source                  = [https://github.com/Co-dfns/Co-dfns Github]
| download                = [https://github.com/Co-dfns/Co-dfns/releases Releases]
| download                = [https://github.com/Co-dfns/Co-dfns/releases Releases]
| file ext                = .cd
| file ext                = .cd
| 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.


{{APL dialects}}[[Category:APL dialects]][[Category:Compilers]][[Category:Nested array languages]][[Category:Leading axis languages]][[Category:Languages with tacit programming]]
== 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]]

Revision as of 13:39, 12 April 2021


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