User blog comment:Holomanga/Learn all of Maths I: Algebra and Functions/@comment-24.34.11.217-20151101164432/@comment-25601061-20151214022403

An example:

1| if(m=0)

2| set(n*m)to(0)

1| if(m=1)

2| set(n*m)to(n)

1| else

2| set(n*m)to((n*(m-1))+n)

1| set(N)to(3*3)

This expression has N output 3*3, which is equal to 9. Addition is already defined in the rules of the language, so there is no need to define it. The if, setto and else is also defined in the rules of the language. The number before the | represents the layer number.