Added missed CONST instruction

This commit is contained in:
Dmitry Boulytchev 2018-03-04 18:13:51 +03:00
parent 0d3cd8aa61
commit 6b9953b41f

View file

@ -4,6 +4,7 @@ open Language
(* The type for the stack machine instructions *)
@type insn =
(* binary operator *) | BINOP of string
(* put a constant on the stack *) | CONST of int
(* read to stack *) | READ
(* write from stack *) | WRITE
(* load a variable to the stack *) | LD of string