Citrine/XX | Manual

Welcome

Number on: ‘fibonacci’ do: {
☞ a ≔ 0.
☞ b ≔ 1.
☞ f ≔ Nil.
{
(⛏ = 1) true: { f ≔ 0. }, break.
(⛏ > 1) true: { f ≔ 1. }.
(⛏ > 2) true: {
{
f ≔ a + b.
a ≔ b.
b ≔ f.
} × (⛏ - 2).
}.
} procedure.
↲ f.
}.
✎ write: 8 fibonacci, stop.
13