Commit 6d8f1d56 authored by petter's avatar petter

forgotten testfiles

git-svn-id: https://www2.in.tum.de/repos/cup/develop@40 f8377d4f-c7f8-0310-b030-a31f13008fac
parent 4c3ce704
public interface Constants {
public static final int INTTYPE = 1;
public static final int BOOLTYPE = 2;
public static final int TRUE = 1;
public static final int FALSE = 0;
public static final int PLUS = 1;
public static final int MINUS = 2;
public static final int MULT = 3;
public static final int DIV = 4;
public static final int MOD = 5;
public static final int LEQ = 1;
public static final int LE = 2;
public static final int GT = 3;
public static final int GTQ = 4;
public static final int EQ = 5;
public static final int NEQ = 6;
public static final int AND = 7;
public static final int OR = 8;
}
This diff is collapsed.
int x, y;
y = 10;
x = read();
while (1-y <= -x) {
y = x * (-y + 5);
}
java -jar ../dist/java-cup-11b.jar -interface -parser Parser -xmlactions test2.cup
javac -cp ../dist/java-cup-11b-runtime.jar:. *.java
java -cp ../dist/java-cup-11b-runtime.jar:. Parser input.minijava test.xml
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment