Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
LabComm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sven Gestegård Robertz
LabComm
Commits
c11dc39c
Commit
c11dc39c
authored
13 years ago
by
Sven Robertz
Browse files
Options
Downloads
Patches
Plain Diff
documentation epsilon
parent
80fb199f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
examples/simple_java/README
+9
-1
9 additions, 1 deletion
examples/simple_java/README
with
9 additions
and
1 deletion
examples/simple_java/README
+
9
−
1
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.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment