Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
data Instruction Source #
Push Value | |
PushArg Int | |
PushEnv String | |
PutArg | |
Call | |
JumpIfFalse Int | |
JumpIfTrue Int | |
Jump Int | |
Define String | |
PushList Int | |
Ret |
Instances
Show Instruction Source # | |
Defined in Vm showsPrec :: Int -> Instruction -> ShowS # show :: Instruction -> String # showList :: [Instruction] -> ShowS # | |
Eq Instruction Source # | |
Defined in Vm (==) :: Instruction -> Instruction -> Bool # (/=) :: Instruction -> Instruction -> Bool # | |
Ord Instruction Source # | |
Defined in Vm compare :: Instruction -> Instruction -> Ordering # (<) :: Instruction -> Instruction -> Bool # (<=) :: Instruction -> Instruction -> Bool # (>) :: Instruction -> Instruction -> Bool # (>=) :: Instruction -> Instruction -> Bool # max :: Instruction -> Instruction -> Instruction # min :: Instruction -> Instruction -> Instruction # |
type Inst = [Instruction] Source #
type Func = [Instruction] Source #