aboutsummaryrefslogtreecommitdiff
path: root/pkg/lang/vm/text
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/lang/vm/text')
-rw-r--r--pkg/lang/vm/text/op.go9
1 files changed, 7 insertions, 2 deletions
diff --git a/pkg/lang/vm/text/op.go b/pkg/lang/vm/text/op.go
index 17f4847..d438a25 100644
--- a/pkg/lang/vm/text/op.go
+++ b/pkg/lang/vm/text/op.go
@@ -28,10 +28,15 @@ var (
code.OpAnchorType: "anchor_type",
code.OpAdd: "add",
code.OpSub: "sub",
+ code.OpMul: "mul",
+ code.OpDiv: "div",
code.OpMod: "mod",
- code.OpIndex: "index",
- code.OpLt: "lt",
+ code.OpEq: "eq",
+ code.OpGt: "gt",
+ code.OpLt: "lt",
code.OpLte: "lte",
+ code.OpGte: "gte",
+ code.OpIndex: "index",
code.OpCall: "call",
code.OpJmp: "jmp",
code.OpJt: "jt",