diff --git a/examples/simple_java/README b/examples/simple_java/README index 069312434d0705169c69a3e64faf3b7c7a466f4b..cbfc2800e8af7791326016ac12632e1b3f27dfd6 100644 --- a/examples/simple_java/README +++ b/examples/simple_java/README @@ -1,7 +1,15 @@ This is a very simple example with one labcomm file (simple.lc) defining two samples. -Example source code: +Example source code: Encoders and decoders written in Java and C. Encoder.java Decoder.java + example_encoder.c + example_decoder.c And simple scripts compile.sh - first runs the LabComm compiler and then compiles Encoder and Decoder run.sh - runs, as expected Encoder and then Decoder + +When running compile.sh, Java and C files for the two samples defined in simple.lc will +be generated in the gen directory. + +run.sh will then run first the encoder, writing to encoded_data, and then the decoders written +in Java and C, respectively, reading from the previously written encoded_data.