static.sh 487 Bytes
Newer Older
Sven Robertz's avatar
Sven Robertz committed
1
2
3
4
#dummy script to test the static part

# run labcomm compilation

5
java -jar ../../compiler/labcomm_compiler.jar --java=gen --javapackage=gen simple.lc
Sven Robertz's avatar
Sven Robertz committed
6
7
8
9
10
11
12
13

# compile example programs
javac -cp .:gen:../../lib/java/labcomm.jar test/StaticEncoder.java
javac -cp .:gen:../../lib/java/labcomm.jar test/StaticDecoder.java

# run example programs
java -cp .:gen:../../lib/java//labcomm.jar test.StaticEncoder encoded_data
java -cp .:gen:../../lib/java//labcomm.jar test.StaticDecoder encoded_data