| Var of string
type value =
- | TermValue of Ast.term
+ | TermValue of NotationPt.term
| StringValue of ident_or_var
| NumValue of string
| OptValue of value option
| ListValue of value list
+ | LocValue of Stdpp.location
type value_type =
- | TermType of int
+ | TermType of int (* the level of the expected term *)
| StringType
| NumType
| OptType of value_type
| ListType of value_type
+ | NoType
exception Value_not_found of string
exception Type_mismatch of string * value_type