Sam Caldwell
733c874871
add argmin and argmax
2020-12-11 16:39:59 -05:00
Sam Caldwell
fe6435f056
add in-hash-keys and in-hash-values
2020-12-11 16:39:59 -05:00
Sam Caldwell
659715cd0e
fix require, add current-inexact-milliseconds primop
2020-12-11 16:39:59 -05:00
Sam Caldwell
8446a0d770
customize resugaring, clean up a bit
2020-12-11 16:39:59 -05:00
Sam Caldwell
8288312890
remove debug prints
2020-12-11 16:39:59 -05:00
Sam Caldwell
967da40b80
lift syntax-parse out of templates
2020-12-11 16:39:59 -05:00
Sam Caldwell
1e434f8006
print less
2020-12-11 16:39:58 -05:00
Michael Ballantyne
c988c4f462
preserve sharing in serializer
2020-12-11 16:39:58 -05:00
Sam Caldwell
db3fc2acd9
uncomment flink
2020-12-11 16:39:58 -05:00
Michael Ballantyne
50d2d1a6fa
fix the serializer
2020-12-11 16:39:58 -05:00
Sam Caldwell
122ef0b5f9
try out the syntax serializer
2020-12-11 16:39:58 -05:00
Sam Caldwell
e1ca7ba2c4
debug state
2020-12-11 16:39:58 -05:00
Sam Caldwell
27b83e5e0a
Fix issue keep debugging
2020-12-11 16:39:58 -05:00
Sam Caldwell
a1660114df
work towards using typedefs, debugging
2020-12-11 16:39:58 -05:00
Sam Caldwell
074ec24da4
workaround: combine big and little lambda
2020-12-11 16:39:57 -05:00
Sam Caldwell
48344856c3
wip on typedefs
2020-12-11 16:39:57 -05:00
Sam Caldwell
165dfeb6c8
fix bug I introduced
2020-12-11 16:38:56 -05:00
Sam Caldwell
38b5e34efb
check context of on-start and on-stop as well
2020-12-10 15:08:19 -05:00
Sam Caldwell
e2bb438704
Perform error/checking and reporting for non-spawn actions at the module
...
top level and endpoint installation out of context
2020-12-10 13:00:08 -05:00
Sam Caldwell
a6fc1f20e4
get typed syndicate to work without using the stop list
2020-08-17 11:24:06 -04:00
Sam Caldwell
04995b5fb3
compile ltl specs
2020-06-17 15:01:47 -04:00
Sam Caldwell
2ba5366986
record a useful spin option
2020-06-15 12:07:31 -04:00
Sam Caldwell
fc4413ec7a
generate atomic blocks, avoid spin keywords
2020-06-15 12:07:11 -04:00
Sam Caldwell
2cdb894728
avoid collisions with spin keywords
2020-06-15 11:33:33 -04:00
Sam Caldwell
0ed975c58c
forgot to commit spin prelude
2020-06-12 16:27:39 -04:00
Sam Caldwell
b59db5b3fd
reorganize a little
2020-06-12 16:27:30 -04:00
Sam Caldwell
2a589fcc18
TODO items
2020-06-12 16:25:29 -04:00
Sam Caldwell
dcd53f5dd5
flink spin example
2020-06-12 16:22:43 -04:00
Sam Caldwell
0d11850295
include actor start event less often when compiling internal events
2020-06-12 16:22:01 -04:00
Sam Caldwell
7cf8f9fc0a
handwritten LTL that succeeds
2020-06-12 15:45:06 -04:00
Sam Caldwell
d30007b798
generate a sanity LTL spec
2020-06-12 15:39:02 -04:00
Sam Caldwell
a5dd55b907
deal with subtyping between assertions
2020-06-12 15:27:52 -04:00
Sam Caldwell
7e5c8e8eb7
program compilation
2020-06-12 14:05:22 -04:00
Sam Caldwell
13e2ec7594
convert types and states to identifiers
2020-06-10 17:09:30 -04:00
Sam Caldwell
2e9a0f6394
generating code
2020-06-10 14:40:07 -04:00
Sam Caldwell
5434e82299
compiling spin
2020-06-08 16:18:57 -04:00
Sam Caldwell
0999c9b75b
start on an IR for spin compilation
2020-05-29 15:19:09 -04:00
Sam Caldwell
30430c391b
Include assertion information inside role graph states
...
Cleans up a lot of things in the process
2020-05-29 15:18:18 -04:00
Sam Caldwell
060ca752f3
fix several bugs in role graph analysis
2020-05-29 11:15:07 -04:00
Sam Caldwell
af8dbeaa4b
a bit more doc
2020-03-30 17:12:39 -04:00
Sam Caldwell
35d3332698
more docs
2020-03-26 16:04:34 -04:00
Sam Caldwell
9b48e77b6d
more docs
2020-03-25 17:09:33 -04:00
Sam Caldwell
cc8d0fa30b
add flink test input
2020-03-23 09:25:01 -04:00
Sam Caldwell
98c5c96356
omit 7gui examples in tests
2020-03-21 09:35:16 -04:00
Sam Caldwell
026e129de7
work on docs
2020-03-20 16:42:27 -04:00
Sam Caldwell
a2780484be
fixup test
2020-03-11 13:12:16 -04:00
Sam Caldwell
5c8986bddd
floating define test
2020-03-10 11:44:25 -04:00
Sam Caldwell
6c79e5cd5c
track branching for each kind of effect in match
2020-03-10 11:44:25 -04:00
Sam Caldwell
7ceed8e952
typed flink: replace dataflow in job manager with internal events
2020-03-10 11:44:25 -04:00
Sam Caldwell
dca8ea2bad
Allow `define`d expressions to have effects
2020-03-10 11:44:25 -04:00
Sam Caldwell
b8b5a1747a
improve function application error messages
2020-03-10 11:44:24 -04:00
Sam Caldwell
c38a47f5e3
TODO: keep track of match branching
2020-03-10 11:44:24 -04:00
Sam Caldwell
480feb961c
improve spawn error messages
2020-03-10 11:44:24 -04:00
Sam Caldwell
f8c385e31d
cleanup
2020-03-10 11:44:24 -04:00
Sam Caldwell
dee43c7f19
fix typed `or`
2020-03-10 11:44:24 -04:00
Sam Caldwell
18932662de
flink: remove use of dataflow
2020-03-10 11:44:24 -04:00
Sam Caldwell
013ce19e68
flink: replace a lot of dataflow in job manager with internal events
2020-03-10 11:44:23 -04:00
Sam Caldwell
f4701a3f70
fix bugs in internal events
2020-03-10 11:44:23 -04:00
Stephen Chang
056d467402
edit info files to enable raco test typed/
2020-03-10 11:44:23 -04:00
Sam Caldwell
f19d2f3296
new job manager role
2020-03-10 11:44:23 -04:00
Sam Caldwell
f3e2fcdc64
task manager role
2020-03-10 11:44:23 -04:00
Sam Caldwell
2a95420366
fixup format of task performer spec
2020-03-10 11:44:22 -04:00
Sam Caldwell
7cf0757ca6
stuff
2020-03-10 11:44:22 -04:00
Sam Caldwell
5823cf32c3
typed flink: unify task-state and task-assignment, job and job-finished
2020-03-10 11:44:22 -04:00
Sam Caldwell
18fdcdeff7
untyped flink: use interest as request for jobs
2020-03-10 11:44:22 -04:00
Sam Caldwell
90961e57f8
untyped flink: unify task-assignment and task-state assertions
2020-03-10 11:44:22 -04:00
Sam Caldwell
6f8c9563aa
typed flink: streamline ids
2020-03-10 11:44:22 -04:00
Sam Caldwell
14db8ce919
untyped flink: finish streamlining ids, resolve dataflow issue
2020-03-10 11:44:21 -04:00
Sam Caldwell
79277c91d3
untyped flink: work on streamlining ids, demonstrating dataflow issue
2020-03-10 11:44:21 -04:00
Sam Caldwell
e3d9f93eca
untyped flink: fiddle with race in task manager
2020-03-10 11:44:21 -04:00
Sam Caldwell
5f472b5402
typed flink: associate task runners with a particular task manager
2020-03-10 11:44:21 -04:00
Sam Caldwell
35827c970c
add in-range
2020-03-10 11:44:21 -04:00
Sam Caldwell
8bbab5317e
typed flink: task runners don't need a status
2020-03-10 11:44:21 -04:00
Sam Caldwell
ab15f7306f
typed define/dataflow
2020-03-10 11:44:21 -04:00
Sam Caldwell
606dd17e08
associate task runners with a particular task manager
2020-03-10 11:44:21 -04:00
Sam Caldwell
32ebb804fb
flink: task runners don't need a status
2020-03-10 11:44:20 -04:00
Sam Caldwell
3459fc8f71
verify request/response property in leader-and-seller
2020-03-10 11:44:20 -04:00
Sam Caldwell
0a5ea2b920
fix bug in leader-and-seller
2020-03-10 11:44:20 -04:00
Sam Caldwell
e3d746b817
fiddling with spin
2020-03-10 11:44:20 -04:00
Sam Caldwell
ed7c212561
start cleaning up/streamlining flink
2020-03-10 11:44:20 -04:00
Sam Caldwell
4e6b883c17
fix a couple bugs
2020-03-10 11:44:20 -04:00
Sam Caldwell
c9c3b9ec82
Label internal events & handlers with actor-unique IDs
2020-03-10 11:44:20 -04:00
Sam Caldwell
9c0c9b3e77
initial take on supporting spawn actions in role graphs
2020-03-10 11:44:19 -04:00
Sam Caldwell
6ee5aa668b
utilize define-spawns to clean up 7-GUIS examples
2020-03-10 11:44:19 -04:00
Sam Caldwell
ecbfe56163
Modify syndicate's module-begin to capture actions on the RHS of define
...
Example. consider a procedure that spawns an actor and then returns
some value relevant to communicating to that actor:
(define (spawn-an-actor)
(define name (gensym))
(spawn
(on (asserted (... name ...))
...)
...)
name)
And the module top level tries to boot and use this actor with a define:
(define the-name (spawn-an-actor))
(spawn ... use the-name ...)
The new module-begin analyzes (forms that expand to) define-values to
wrap the body with a capture-actor-actions, allowing such spawns to be
detected.
2020-03-10 11:44:19 -04:00
Sam Caldwell
7af6782ea8
7-GUIS port task 7
2020-03-10 11:44:19 -04:00
Sam Caldwell
ce9d563d8c
7-GUIS port task 6
2020-03-10 11:44:19 -04:00
Sam Caldwell
9e88cde0eb
7-GUIS port task 5
2020-03-10 11:44:19 -04:00
Sam Caldwell
e554c797fb
7-GUIS port task 4
2020-03-10 11:44:19 -04:00
Sam Caldwell
89e42ae987
7-GUIS port task 3
2020-03-10 11:44:19 -04:00
Sam Caldwell
161abab986
7-GUIS port task 2
2020-03-10 11:44:18 -04:00
Sam Caldwell
ce0dba8f36
start on racket guis, 7-GUIS task 1
2020-03-10 11:44:18 -04:00
Sam Caldwell
5a5fb74124
consider more potential schedulings of events
2020-03-10 11:44:18 -04:00
Sam Caldwell
9f8469467a
internal event business
2020-03-10 11:44:18 -04:00
Sam Caldwell
123124acb2
compile internal events, compresses job manager graph by a lot
2020-03-10 11:44:18 -04:00
Sam Caldwell
7ba1ecf055
remove self loops, things working better
2020-03-10 11:44:18 -04:00
Sam Caldwell
5a19594fa1
fix bug in flink
2020-03-10 11:44:17 -04:00
Sam Caldwell
2a72f63084
detect cycles when compiling internal events
2020-03-10 11:44:17 -04:00
Sam Caldwell
63c36d7010
first take on inlining internal events
2020-03-10 11:44:17 -04:00
Sam Caldwell
d4b17154eb
rudimentary support for internal events in proto
2020-03-10 11:44:16 -04:00