Commit 7ff39bbd authored by Sven Robertz's avatar Sven Robertz
Browse files

added python decoder to simple example

parent 88bea054
(cd ../../lib/c; make)
(cd ../../compiler ; ant jar)
java -jar ../../compiler/labComm.jar --java=gen --c=gen/simple.c --h=gen/simple.h simple.lc
java -jar ../../compiler/labComm.jar --java=gen --c=gen/simple.c --h=gen/simple.h --python=gen/simple.py simple.lc
javac -cp ../../lib/java:. gen/*.java Encoder.java Decoder.java
......
......@@ -2,3 +2,7 @@ java -cp .:../../lib/java:gen Encoder encoded_data
./example_decoder encoded_data
./example_encoder encoded_data
java -cp .:../../lib/java:gen Decoder encoded_data
echo "running python decoder (from wiki_example):"
PYTHONPATH=../../lib/python ../wiki_example/example_decoder.py encoded_data
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