Interpreter.MakeSourceInternal representation for subprograms.
type 'a maybe_exception = | Normal of 'a| Throwing of (value_read_from * AST.ty) option * IEnv.envval run_typed_env :
(AST.identifier * B.value) list ->
StaticEnv.global ->
AST.t ->
B.value B.mrun env0 tenv ast runs the function main of the ast, in the typing environment tenv. However, the (global) identifiers listed in the A-list env0 will take their initial values from env0 and _not_ from ast.
run_typed ast env runs the function main of the typed-checked ast, in typed-checking environment env.