4,494
edits
Miraheze>Adám Brudzewsky No edit summary |
m (Text replacement - "<source" to "<syntaxhighlight") |
||
(5 intermediate revisions by 4 users not shown) | |||
Line 18: | Line 18: | ||
| influenced by = [[Dyalog APL]], [[J]] | | influenced by = [[Dyalog APL]], [[J]] | ||
}} | }} | ||
'''Rowan''' is | '''Rowan''' is a very APL-like language built on the same engine as [[Wikipedia:R (programming language)|R]], from which it inherits its array capabilities, connection to [[.NET]], error-handling and [[namespace]] architecture. The following examples shows its similarity to APL when using [[dfn]]s: | ||
< | <syntaxhighlight lang=apl> | ||
avg←{(+/⍵)÷⍴⍵} | avg←{(+/⍵)÷⍴⍵} | ||
a←3 5 6 | a←3 5 6 | ||
avg a | avg a | ||
Result: 4.66666666666667 | Result: 4.66666666666667 | ||
</ | </syntaxhighlight> | ||
== External links == | == External links == | ||
* ''[http://archive.vector.org.uk/art10009240 Rowan.net: An APL-like Interpreter for .Net]'', [[Vector Journal]] 21:2, April 2005. | * ''[http://archive.vector.org.uk/art10009240 Rowan.net: An APL-like Interpreter for .Net]'', [[Vector Journal]] 21:2, April 2005. | ||
{{APL dialects}} | {{APL dialects}}[[Category:APL dialects]][[Category:Flat array languages]] |