Category:Arturo: Difference between revisions

Content deleted Content added
Drkameleon (talk | contribs)
m updated description
Drkameleon (talk | contribs)
m minor edit
 
(3 intermediate revisions by 2 users not shown)
Line 15:
* No reserved words or keywords - look for them as hard as you can; there are absolutely none
 
<syntaxhighlight lang="arturo">
<lang rebol>
factorial: function [n][
print "Hello world!"
if? n > 0 -> n * factorial n-1
else -> 1
]
 
loop 1..1019 '[x []->
print ["Factorial of" x "=" factorial x]
if? even? x -> print [x "is even"]
</syntaxhighlight>
else -> print [x "is odd"]
</rebol>
 
===Implementation===
Line 33 ⟶ 34:
 
===Todo===
[[Tasks not implemented in Arturo]]
[[Reports:Tasks_not_implemented_in_Arturo]]
 
{{language programming paradigm|Concatenative}}
{{language programming paradigm|Declarative}}
{{language programming paradigm|Dynamic}}
{{language programming paradigm|Functional}}