io
io
Installation
Arch Linux
yay -S io
git
git clone --recursive https://github.com/IoLanguage/io.git
cd io
mkdir build
cd build
cmake ..
make
make install
Examples
Fibonacci Numbers
// Fibonacci Numbers
fib := method(n,
if (n < 2,
n,
fib(n - 2) + fib(n - 1)
)
)
fib(System args at(1) asNumber) println
/*
example
run:
io fib.io 20
*/