Interpreter.MakeSourcerun env0 ast runs the function main of the ast, in an environment build from the ast. 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.