Click here to go to the calc= console, where you can try it out and get the documentation.
Welcome to calc=, the stack language for chats! For a basic tutorial, type calc= tut
. If you already know stack based programming, use calc= adv_tut
.
Demos:
- Fibonacci:
calc= fib = {n -> 0 1 {x y -> y x y +} n iter drop} ; 0 9 .. $fib map
- Factorial:
calc= 1 5 .. $* 1 fold