basalt

examples/fibonacci.bas

' Print the first ARG Fibonacci numbers.
LET a = 0
LET b = 1
LET i = 0
WHILE i < ARG
    PRINT a
    LET next = a + b
    a = b
    b = next
    i = i + 1
WEND