private static final boolean debug = false;
public ParserGenerator(IRascalMonitor monitor, PrintWriter out, List<ClassLoader> loaders, IValueFactory factory, Configuration config) {
GlobalEnvironment heap = new GlobalEnvironment();
ModuleEnvironment scope = new ModuleEnvironment("___parsergenerator___", heap);
this.evaluator = new Evaluator(ValueFactoryFactory.getValueFactory(), out, out, scope,heap);
this.evaluator.getConfiguration().setRascalJavaClassPathProperty(config.getRascalJavaClassPathProperty());
evaluator.addRascalSearchPathContributor(StandardLibraryContributor.getInstance());
this.evaluator.setBootstrapperProperty(true);
this.bridge = new JavaBridge(loaders, factory, config);
this.vf = factory;