Ring
Ring
Installation
git
git clone http://github.com/ring-lang/ring.git
cd ring/language
cmake .
make
Examples
Fibonacci Numbers
// Fibonacci Numbers
func fib n
if n < 2
return n
else
return fib(n - 2) + fib(n - 1)
ok
func main
n = Number(SysArgv[3])
see fib(n)
/*
example
ring fib.ring 30
*/