| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Vm
Documentation
Constructors
| Add | |
| Sub | |
| Mul | |
| Div | |
| Mod | |
| Eq | |
| Less | |
| LessEq | |
| Great | |
| GreatEq | |
| And | |
| Or | |
| Xorb | |
| Not | |
| ToString | |
| Get | |
| Append | |
| RmOcc | |
| Len |
Constructors
| IntVal Int | |
| BoolVal Bool | |
| CharVal Char | |
| StringVal String | |
| ListVal [Value] | |
| Op Operator | |
| Function Func Int |
data Instruction Source #
Constructors
| 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 Methods showsPrec :: Int -> Instruction -> ShowS # show :: Instruction -> String # showList :: [Instruction] -> ShowS # | |
| Eq Instruction Source # | |
Defined in Vm | |
| Ord Instruction Source # | |
Defined in Vm Methods 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 #