What is Arturo?
masterArturo is a simple, expressive, and portable programming language designed for efficient scripting. It is an independently-developed modern language influenced by concepts from Logo, Rebol, Forth, Ruby, Haskell, D, Smalltalk, Tcl, and Lisp.
Key design principles:
- Code consists of a list of words, symbols, and literal values.
- Words and symbols within a block are interpreted according to their context.
- There are no reserved words or keywords.
factorial: function [n][
switch n > 0 -> n * factorial n-1
-> 1
]
loop 1..19 [x]->
print ["Factorial of" x "=" factorial x]