Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Anders Blomdell
LabComm
Commits
c11dc39c
Commit
c11dc39c
authored
Nov 08, 2011
by
Sven Robertz
Browse files
documentation epsilon
parent
80fb199f
Changes
1
Hide whitespace changes
Inline
Side-by-side
examples/simple_java/README
View file @
c11dc39c
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.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment