| Example Input | Generated class file | Output |
| program game { if (true) then{ write "Go Gator!";} else {write "Hello World.";} endif; } |
game.class | >/depot/c1/JAVA-2007-01/JDK-6/java-6/bin/java game Go Gator! |
| program test { list[int] x,y,z,w; x := {1,2,3}; y := {1,2,3}; z := {1,3}; w := x; write x=y; write x==y; write x!=y; write x=w; write x==w; write x!=w; write y=w; write y==w; write y!=w; write y=z; write y==z; write y!=z; } |
test.class | >/depot/c1/JAVA-2007-01/JDK-6/java-6/bin/java test >false >true >true >true >true >false >false >true >true >false >false >true |