Yard/test.erpn

35 lines
384 B
Plaintext
Raw Normal View History

2022-11-14 16:50:34 +00:00
pi:
Load Rat 5.1415926535
foo:
Load Int 5
Load Int 6
Add
2022-11-28 18:10:29 +00:00
Store Int x
2022-11-14 16:50:34 +00:00
Load Arg x
Load Int 6
Lt
2022-11-28 18:10:29 +00:00
Unless
2022-11-14 16:50:34 +00:00
Load Bool true
Yield
Please
Load Arg x
Load Int 6
Lt
2022-11-28 18:10:29 +00:00
Unless
2022-11-14 16:50:34 +00:00
Load Bool true
Yield
2022-11-28 18:10:29 +00:00
Load Bool true
2022-11-14 16:50:34 +00:00
Yield
main:
Load Int 4
2022-11-28 18:10:29 +00:00
Store Int a
2022-11-14 16:50:34 +00:00
Load Rat 5.5
2022-11-28 18:10:29 +00:00
Store Rat b
2022-11-14 16:50:34 +00:00
Load Bool true
2022-11-28 18:10:29 +00:00
Store Bool c
2022-11-14 16:50:34 +00:00
Load Int 3
Load Rat 3.4
Call foo
2022-11-28 18:10:29 +00:00
Store Bool r
2022-11-14 16:50:34 +00:00
Load Int 0