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
Tommy Olofsson
LabComm
Commits
bd14acb5
Commit
bd14acb5
authored
Dec 14, 2011
by
Sven Robertz
Browse files
moved compiler to its own directory
parent
a9bcc9a3
Changes
22
Hide whitespace changes
Inline
Side-by-side
examples/simple/compile.sh
View file @
bd14acb5
(
cd
../../lib/c
;
make
)
(
cd
../../
;
ant jar
)
(
cd
../../
compiler
;
ant jar
)
java
-jar
../../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 simple.lc
javac
-cp
../../lib/java:. gen/
*
.java Encoder.java Decoder.java
...
...
examples/wiki_example/run
View file @
bd14acb5
#!/bin/sh
# Auto generate code from .lc file
java
-jar
../../labComm.jar
\
java
-jar
../../
compiler/
labComm.jar
\
--c
=
example.c
--h
=
example.h
\
--java
=
.
\
--cs
=
example.cs
\
...
...
Prev
1
2
Next
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