Rename Eval -> Run, split out some Ast functions into new Eval.
[goals.git] / src / main.ml
index 127c24c..88cd084 100644 (file)
@@ -49,10 +49,11 @@ let main () =
     if targets <> [] then targets
     else [Ast.ECallGoal (Ast.noloc, "all", [])] in
 
-  Ast.print_env stderr env;
+  if Cmdline.debug_flag then
+    Ast.print_env stderr env;
 
-  (* Evaluate the target expressions in turn. *)
-  Eval.evaluate_targets env targets
+  (* Run the target expressions. *)
+  Run.run_targets env targets
 
 let () =
   try main ()