REXX
Regina Rexx
Installation
Ubuntu
apt install regina-rexx
Alma Linux
# Download regina-rexx-{version}.tar.gz from http://www.rexx.org
tar xzf regina-rexx-{version}.tar.gz
cd regina-rexx-{version}
./configure [OPTION]... [VAR=VALUE]...
make
make install
Examples
Fibonacci Numbers
/* Fibonacci Numbers */
say fib(arg(1))
exit
fib: procedure
parse arg n .
if n < 2 then
n = n
else
n = fib(n - 2) + fib(n - 1)
return n
/*
example
run:
rexx fib.rexx 30
*/