Compleating assignment for interpreter, modified grammars, fixed tests
This commit is contained in:
@ -38,5 +38,7 @@ type memory = {
|
||||
assignments: int VariableMap.t
|
||||
}
|
||||
|
||||
exception AbsentAssignment of string
|
||||
exception DivisionByZero of string
|
||||
type error = [
|
||||
`AbsentAssignment of string
|
||||
| `DivisionByZero of string
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user