Extends
Classes
Methods
-
Add()
-
stack: ... a b -> ... a+b- Inherited From:
- Source:
-
Branch()
-
stack: ... -> ... | pc: a- Inherited From:
- Source:
-
Bzero()
-
stack: ... bool -> ... | pc: !bool? a- Inherited From:
- Source:
-
Call()
-
stack: ... -> ... old-pc | pc: addr- Inherited From:
- Source:
-
Divide()
-
stack: ... a b -> ... a/b- Inherited From:
- Source:
-
Entry()
-
stack: ... arguments old-pc -> ... arguments old-pc old-fp old-dp result display locals- Overrides:
- Source:
-
Eq()
-
stack: ... a b -> ... a == b- Inherited From:
- Source:
-
Exit()
-
stack: ... arguments old-pc old-fp old-dp result display locals -> ... result old-pc- Overrides:
- Source:
-
Ge()
-
stack: ... a b -> ... a >= b- Inherited From:
- Source:
-
Gt()
-
stack: ... a b -> ... a > b- Inherited From:
- Source:
-
Input()
-
stack: ... -> ... input- Inherited From:
- Source:
-
Le()
-
stack: ... a b -> ... a <= b- Inherited From:
- Source:
-
Load()
-
stack: ... -> ... memory[addr]- Inherited From:
- Source:
-
LoadDP()
-
stack: ... -> ... frame[depth][addr] -
LoadFP()
-
stack: ... -> ... frame[addr]- Inherited From:
- Source:
-
Lt()
-
stack: ... a b -> ... a < b- Inherited From:
- Source:
-
Minus()
-
stack: ... a -> ... -a- Inherited From:
- Source:
-
Multiply()
-
stack: ... a b -> ... a*b- Inherited From:
- Source:
-
Ne()
-
stack: ... a b -> ... a != b- Inherited From:
- Source:
-
Pop()
-
stack: ... val -> ...- Inherited From:
- Source:
-
Print()
-
stack: ... n*val -> ...- Inherited From:
- Source:
-
Push()
-
stack: ... -> ... result- Inherited From:
- Source:
-
Puts()
-
stack: ... val -> ... | puts(val)- Inherited From:
- Source:
-
Return()
-
stack: ... old-pc -> ... | pc: old-pc- Inherited From:
- Source:
-
ReturnValue()
-
stack: ... x old-pc result -> ... result old-pc result- Inherited From:
- Source:
-
Store()
-
stack: ... val -> ... val | memory[a]: val- Inherited From:
- Source:
-
StoreDP()
-
stack: ... val -> ... val | frame[depth][addr]: val -
StoreFP()
-
stack: ... val -> ... val | frame[addr]: val- Inherited From:
- Source:
-
Subtract()
-
stack: ... a b -> ... a-b- Inherited From:
- Source:
-
gen()
-
returns
code.length- Inherited From:
- Source:
-
ins()
-
returns instruction function
- Inherited From:
- Source:
-
run()
-
Returns stack machine executable
- Inherited From:
- Source:
-
toString()
-
Represents
codeas text- Inherited From:
- Source:
-
trace()
-
Returns trace function, if any
- Inherited From:
- Source: