Skip to content
Snippets Groups Projects
README 690 B
Newer Older
Sven Robertz's avatar
Sven Robertz committed
This is a very simple example with one labcomm file (simple.lc) defining two samples.
Sven Robertz's avatar
Sven Robertz committed
Example source code: Encoders and decoders written in Java and C.
Sven Robertz's avatar
Sven Robertz committed
	Encoder.java
	Decoder.java
Sven Robertz's avatar
Sven Robertz committed
        example_encoder.c
        example_decoder.c
Sven Robertz's avatar
Sven Robertz committed
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
Sven Robertz's avatar
Sven Robertz committed

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.