Co-dfns: Difference between revisions

From APL Wiki
Jump to navigation Jump to search
Miraheze>Adám Brudzewsky
m (Text replacement - "{{APL programming language}}" to "{{APL dialects}}")
 
m (Co-dfns supports full nesting now)
 
(18 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Infobox array language
{{Infobox array language
| array model              = [[Flat array model|flat]], limited [[Nested array model|nested array]] support
| logo                    = [[File:Co-dfns logo.png|none]]
| array model              = [[nested array model|nested]]
| index origin            = 0
| index origin            = 0
| function styles          = [[dfn]], [[tacit]]
| function styles          = [[dfn]], [[tacit]]
Line 6: Line 7:
| released                = 2014-10-07
| released                = 2014-10-07
| developer                = [[Aaron Hsu]]
| developer                = [[Aaron Hsu]]
| latest release version  = 2018-11-29
| latest release version  = 5.4.0 / 2023-12-11
| 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}}
== 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]]

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