Arturo
This programming language may be used to instruct a computer to perform a task.
Listed below are all of the tasks on Rosetta Code which have been solved using Arturo.
This programming language may be used to instruct a computer to perform a task.
Official website |
---|
Execution method: | Interpreted |
---|---|
Garbage collected: | Yes |
Type strength: | Strong |
Type expression: | Implicit |
Type checking: | Dynamic |
Lang tag(s): | arturo |
See Also: |
|
Your Help Needed
If you know Arturo, please write code for some of the tasks not implemented in Arturo.
If you know Arturo, please write code for some of the tasks not implemented in Arturo.
Arturo is an independently-developed, modern programming language, vaguely related to various other ones - including but not limited to Logo, Rebol, Forth, Ruby, Haskell, D, SmallTalk, Tcl and Lisp.
The language has been designed following some very simple and straightforward principles:
- Code is just a list of words and symbols
- Words and symbols within a block are interpreted - when needed - according to the context
- No reserved words or keywords - look for them as hard as you can; there are absolutely none
factorial: function [n][
if? n > 0 -> n * factorial n-1
else -> 1
]
loop 1..19 [x]->
print ["Factorial of" x "=" factorial x]
Implementation[edit]
The main compiler is implemented in Nim/C as a Bytecode interpreter / Stack-based VM and should run in most architectures.
The main goals are: expressiveness, brevity, performance and portability. (With that exact order)
License[edit]
Arturo is released under the MIT/X11 License.
Todo[edit]
Reports:Tasks_not_implemented_in_Arturo
Pages in category "Arturo"
The following 279 pages are in this category, out of 279 total.
A
- A+B
- ABC problem
- Abundant, deficient and perfect number classifications
- Align columns
- Amicable pairs
- Apply a callback to an array
- Arithmetic/Integer
- Array concatenation
- Array length
- Arrays
- Assertions
- Associative array/Creation
- Associative array/Iteration
- Associative array/Merging
- Averages/Arithmetic mean
- Averages/Median
- Averages/Mode
- Averages/Pythagorean means
- Averages/Root mean square
B
C
- Calculating the value of e
- Call a foreign-language function
- Call a function
- Call a function in a shared library
- Case-sensitivity of identifiers
- Casting out nines
- Catalan numbers
- Catamorphism
- Character codes
- Check that file exists
- Chowla numbers
- Collections
- Comma quibbling
- Command-line arguments
- Comments
- Compound data type
- Conditional structures
- Copy a string
- Count in octal
- Count the coins
- Create a file
- Create a file on magnetic tape
- CSV data manipulation
D
E
F
- Factorial
- Factors of an integer
- FASTA format
- Fermat numbers
- Fibonacci sequence
- File extension is in extensions list
- File input/output
- Filter
- Find limit of recursion
- Find the last Sunday of each month
- Find the missing permutation
- First-class functions
- FizzBuzz
- Flatten a list
- Function composition
- Function definition
- Function frequency
G
H
I
L
- Largest int from concatenated ints
- Last Friday of each month
- Leap year
- Least common multiple
- Letter frequency
- Levenshtein distance
- Literals/Floating point
- Literals/Integer
- Literals/String
- Logical operations
- Long literals, with continuations
- Long year
- Longest common prefix
- Longest common substring
- Loop over multiple arrays simultaneously
- Loops/Break
- Loops/Continue
- Loops/Do-while
- Loops/Downward for
- Loops/For
- Loops/For with a specified step
- Loops/Foreach
- Loops/Increment loop index within loop body
- Loops/Infinite
- Loops/N plus one half
- Loops/While
M
N
P
R
- Random numbers
- Read entire file
- Real constants and functions
- Regular expressions
- Remove duplicate elements
- Rename a file
- Repeat
- Repeat a string
- Return multiple values
- Reverse a string
- Reverse the gender of a string
- Reverse words in a string
- Roman numerals/Decode
- Roman numerals/Encode
- RPG attributes generator
S
- S-expressions
- Search a list
- Semordnilap
- Set
- SHA-1
- Show ASCII table
- Sleep
- Sort an integer array
- Sort numbers lexicographically
- Sort three variables
- Sorting algorithms/Bubble sort
- Sorting algorithms/Gnome sort
- Sorting algorithms/Insertion sort
- Sorting algorithms/Pancake sort
- Sorting algorithms/Permutation sort
- Sorting algorithms/Quicksort
- Sorting algorithms/Selection sort
- Split a character string based on change of character
- Square but not cube
- Stack
- String append
- String case
- String comparison
- String concatenation
- String interpolation (included)
- String length
- String matching
- String prepend
- Strip a set of characters from a string
- Strip control codes and extended characters from a string
- Strip whitespace from a string/Top and tail
- Substitution cipher
- Substring
- Substring/Top and tail
- Sum and product of an array
- Sum digits of an integer
- Sum multiples of 3 and 5
- Sum of a series
- Sum of squares
- Symmetric difference
- System time
T
- Table creation
- Table creation/Postal addresses
- Temperature conversion
- Terminal control/Clear the screen
- Terminal control/Coloured text
- Terminal control/Cursor positioning
- Terminal control/Dimensions
- Terminal control/Display an extended character
- Terminal control/Hiding the cursor
- Terminal control/Ringing the terminal bell
- Terminal control/Unicode output
- Time a function
- Tokenize a string
- Tokenize a string with escaping
- Towers of Hanoi
- Trigonometric functions
- Truncatable primes
W
Categories:
- Execution method/Interpreted
- Garbage collection/Yes
- Typing/Strong
- Typing/Expression/Implicit
- Typing/Checking/Dynamic
- Programming Languages
- Programming paradigm/Concatenative
- Programming paradigm/Declarative
- Programming paradigm/Dynamic
- Programming paradigm/Functional
- Programming paradigm/Imperative
- Programming paradigm/Reflective