Yard/test.erpn

35 lines
384 B
Plaintext

pi:
Load Rat 5.1415926535
foo:
Load Int 5
Load Int 6
Add
Store Int x
Load Arg x
Load Int 6
Lt
Unless
Load Bool true
Yield
Please
Load Arg x
Load Int 6
Lt
Unless
Load Bool true
Yield
Load Bool true
Yield
main:
Load Int 4
Store Int a
Load Rat 5.5
Store Rat b
Load Bool true
Store Bool c
Load Int 3
Load Rat 3.4
Call foo
Store Bool r
Load Int 0