projects
/
fleet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
change build machine, use /usr/bin/tclsh instead of /usr/bin/tcl
[fleet.git]
/
tests
/
codebags
/
fun-with-codebags2.fleet
1
// expected output
2
#expect 12
3
#expect 13
4
#expect 14
5
6
// ships required in order to run this code
7
#ship debug : Debug
8
#ship memory : Memory
9
10
// instructions not in any codebag are part of the "root codebag"
11
// which is dispatched when the code is loaded
12
13
memory.out:
14
set ilc=*;
15
collect packet, send;
16
17
memory.inCBD:
18
set word=BOB;
19
deliver;
20
21
BOB: {
22
debug.in:
23
set word=12; deliver;
24
set word=13; deliver;
25
set word=14; deliver;
26
}