var progname = arguments.first
# Here we load an process all modules passed on the command line
-var mmodules = modelbuilder.parse_and_build([progname])
+var mmodules = modelbuilder.parse([progname])
modelbuilder.run_phases
-if toolcontext.opt_only_metamodel.value then exit(0)
-
# Here we launch the interpreter on the main module
assert mmodules.length == 1
var mainmodule = mmodules.first