Yard/test.erpn

41 lines
466 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
2022-11-30 18:07:46 +00:00
Add Int
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
2022-11-30 18:07:46 +00:00
Lt Int
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
2022-11-30 18:07:46 +00:00
Lt Int
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-29 17:34:54 +00:00
Call pi
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
2022-11-29 17:34:54 +00:00
Load Rat 4.0
2022-11-14 16:50:34 +00:00
Call foo
2022-11-28 18:10:29 +00:00
Store Bool r
2022-11-29 17:34:54 +00:00
Load Int 3
Load Rat 5.0
Call foo
Store Bool h
Load Int 4
Store Int b
Load Int 9