summaryrefslogtreecommitdiff
path: root/interpret/interface.ml
diff options
context:
space:
mode:
Diffstat (limited to 'interpret/interface.ml')
-rw-r--r--interpret/interface.ml6
1 files changed, 6 insertions, 0 deletions
diff --git a/interpret/interface.ml b/interpret/interface.ml
index 7b84396..621bfa2 100644
--- a/interpret/interface.ml
+++ b/interpret/interface.ml
@@ -1,4 +1,5 @@
open Ast
+open Util
module type INTERPRET = sig
@@ -24,6 +25,11 @@ module type INTERPRET = sig
type io = (id * value) list
(*
+ Get the constants only
+ *)
+ val consts : prog -> id -> value VarMap.t
+
+ (*
Construct initial state for a program.
The id is the root node of the program evaluation.
*)