yip |
stack++
|
Increase stack position |
yap |
stack--
|
Decrease stack position |
yip? |
if (!hold) goto next yap!
|
Jump after the next yip! if hold is zero |
yap? |
hold = min(*stack, hold)
|
Set hold to the stack value if it's less than hold |
yip! |
hold -= *stack
|
Subtract the stack value from hold |
yap! |
goto prev yip?
|
Jump to the previous yip? |
Yip |
print(chr(hold))
|
Output hold as character |
Yap |
hold += *stack
|
Add stack value to hold |
Yip! |
print(hold)
|
Output hold as a number |
Yap! |
return
|
Returns from a function to its invocation |
Yip? |
func() {}
|
Defines a function whose name is the next token |
Yap? |
func()
|
Invoke the function represented by the next token |
yipyip |
hold = *stack
|
Assign the stack value to hold |
yipyap |
swap(hold, *stack)
|
Swap hold and stack value |
yapyip |
hold++
|
Increase hold value by 1 |
yapyap |
hold--
|
Decrease hold value by 1 |