Skip to content

Instantly share code, notes, and snippets.

@prednaz
Created August 15, 2021 12:06
Show Gist options
  • Save prednaz/8285074e6d1d9303261d5397965038b1 to your computer and use it in GitHub Desktop.
Save prednaz/8285074e6d1d9303261d5397965038b1 to your computer and use it in GitHub Desktop.
"main" 4
"false" 20
"true" 26
"not" 32
"negate" 39
"|" 46
"&" 56
"+" 66
"-" 76
"*" 86
"/" 96
"==" 106
"<" 116
"if" 126
Reset
Pushfun "main"
Call
Halt
Pushval (Integer 0)
Alloc
Makeapp
Pushparam (-1)
Alloc
Makeapp
Pushparam 0
Alloc
Makeapp
Pushparam (-1)
SlideLet 3
Update 0
Slide 1
Unwind
Call
Return
Pushval (Bool False)
Update 0
Slide 1
Unwind
Call
Return
Pushval (Bool True)
Update 0
Slide 1
Unwind
Call
Return
Pushparam 1
Unwind
Call
Operator Not
Update 1
Slide 2
Return
Pushparam 1
Unwind
Call
Operator Negate
Update 1
Slide 2
Return
Pushparam 1
Unwind
Call
Pushparam 3
Unwind
Call
Operator Or
Update 2
Slide 3
Return
Pushparam 1
Unwind
Call
Pushparam 3
Unwind
Call
Operator And
Update 2
Slide 3
Return
Pushparam 1
Unwind
Call
Pushparam 3
Unwind
Call
Operator Plus
Update 2
Slide 3
Return
Pushparam 1
Unwind
Call
Pushparam 3
Unwind
Call
Operator Minus
Update 2
Slide 3
Return
Pushparam 1
Unwind
Call
Pushparam 3
Unwind
Call
Operator Times
Update 2
Slide 3
Return
Pushparam 1
Unwind
Call
Pushparam 3
Unwind
Call
Operator DividedBy
Update 2
Slide 3
Return
Pushparam 1
Unwind
Call
Pushparam 3
Unwind
Call
Operator Equals
Update 2
Slide 3
Return
Pushparam 1
Unwind
Call
Pushparam 3
Unwind
Call
Operator LessThan
Update 2
Slide 3
Return
Pushparam 1
Unwind
Call
Pushparam 3
Pushparam 5
Operator If
Update 3
Slide 4
Unwind
Call
Return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment