Skip to content
This repository has been archived by the owner on Jan 31, 2025. It is now read-only.

Commit

Permalink
Updated tutor to latest version of rascal
Browse files Browse the repository at this point in the history
  • Loading branch information
DavyLandman committed Jul 2, 2024
1 parent ab3cac6 commit f0d3126
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<maven.compiler.release>11</maven.compiler.release>

<rascal-maven.version>0.27.3</rascal-maven.version>
<rascal-maven.version>0.27.4-RC3</rascal-maven.version>
</properties>

<scm>
Expand Down Expand Up @@ -160,7 +160,7 @@
<dependency>
<groupId>org.rascalmpl</groupId>
<artifactId>rascal</artifactId>
<version>0.40.2</version>
<version>0.40.3-RC2</version>
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
Expand Down
5 changes: 2 additions & 3 deletions src/lang/rascal/tutor/questions/QuestionCompiler.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@
package lang.rascal.tutor.questions;

import java.io.File;

import org.rascalmpl.interpreter.ConsoleRascalMonitor;
import org.rascalmpl.interpreter.BatchProgressMonitor;
import org.rascalmpl.interpreter.Evaluator;
import org.rascalmpl.interpreter.env.GlobalEnvironment;
import org.rascalmpl.interpreter.env.ModuleEnvironment;
Expand All @@ -36,7 +35,7 @@ public class QuestionCompiler {
public QuestionCompiler(PathConfig pcfg) {
final GlobalEnvironment heap = new GlobalEnvironment();
final ModuleEnvironment top = new ModuleEnvironment("***question compiler***", heap);
eval = new Evaluator(vf, System.in, System.err, System.out, top, heap, new ConsoleRascalMonitor());
eval = new Evaluator(vf, System.in, System.err, System.out, top, heap, new BatchProgressMonitor());
eval.addRascalSearchPath(URIUtil.rootLocation("std"));
eval.getConfiguration().setRascalJavaClassPathProperty(javaCompilerPathAsString(pcfg.getJavaCompilerPath()));

Expand Down

0 comments on commit f0d3126

Please sign in to comment.