Sam Caldwell
33b516b7a6
verify request/response property in leader-and-seller
2019-09-26 13:39:28 -04:00
Sam Caldwell
2fa30c6066
fix bug in leader-and-seller
2019-09-26 13:39:01 -04:00
Sam Caldwell
5ef44987ca
fiddling with spin
2019-09-24 09:52:41 -04:00
Sam Caldwell
04e34c58ea
start cleaning up/streamlining flink
2019-08-26 11:09:35 -04:00
Sam Caldwell
29f589d7c4
fix a couple bugs
2019-08-26 11:09:34 -04:00
Sam Caldwell
443e1f9ac1
Label internal events & handlers with actor-unique IDs
2019-08-26 11:09:34 -04:00
Sam Caldwell
4e2ae45b0b
initial take on supporting spawn actions in role graphs
2019-08-26 11:09:34 -04:00
Sam Caldwell
8949193977
utilize define-spawns to clean up 7-GUIS examples
2019-08-26 11:09:34 -04:00
Sam Caldwell
0e44970bef
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.
2019-08-26 11:09:34 -04:00
Sam Caldwell
ded2629296
7-GUIS port task 7
2019-08-26 11:09:34 -04:00
Sam Caldwell
a259153470
7-GUIS port task 6
2019-08-26 11:09:33 -04:00
Sam Caldwell
cdca416d21
7-GUIS port task 5
2019-08-26 11:09:33 -04:00
Sam Caldwell
de1fab2cb5
7-GUIS port task 4
2019-08-26 11:09:33 -04:00
Sam Caldwell
064a2e1462
7-GUIS port task 3
2019-08-26 11:09:33 -04:00
Sam Caldwell
3c65281a2e
7-GUIS port task 2
2019-08-26 11:09:33 -04:00
Sam Caldwell
997a3099fd
start on racket guis, 7-GUIS task 1
2019-08-26 11:09:33 -04:00
Sam Caldwell
e018359204
consider more potential schedulings of events
2019-08-26 11:09:32 -04:00
Sam Caldwell
9a21a811a3
internal event business
2019-08-26 11:09:32 -04:00
Sam Caldwell
3c3291ffa4
compile internal events, compresses job manager graph by a lot
2019-08-26 11:09:32 -04:00
Sam Caldwell
b17cba59ed
remove self loops, things working better
2019-08-26 11:09:32 -04:00
Sam Caldwell
16175c7bb4
fix bug in flink
2019-08-26 11:09:32 -04:00
Sam Caldwell
27abf8ab1e
detect cycles when compiling internal events
2019-08-26 11:09:32 -04:00
Sam Caldwell
e6524174e1
first take on inlining internal events
2019-08-26 11:09:31 -04:00
Sam Caldwell
135e6b655b
rudimentary support for internal events in proto
2019-08-26 11:09:31 -04:00
Sam Caldwell
202bcd6842
add messages to proto
2019-08-26 11:09:31 -04:00
Sam Caldwell
fa8822e40d
small cleanup
2019-08-26 11:09:31 -04:00
Sam Caldwell
c40b773282
reorganize examples
2019-08-26 11:09:31 -04:00
Sam Caldwell
be5bc19fcc
job manager role
2019-08-26 11:09:31 -04:00
Sam Caldwell
537b3fd272
more event constructors in proto
2019-08-26 11:09:31 -04:00
Sam Caldwell
8f8f4c416f
replace some dataflow with internal events in typed flink
2019-08-26 11:09:30 -04:00
Sam Caldwell
5f38b6cc94
allow equal? when there's overlap
2019-08-26 11:09:30 -04:00
Sam Caldwell
f597fdc499
internal events for typed lang
2019-08-26 11:09:30 -04:00
Sam Caldwell
963676c0c6
Change type names Know -> Asserted, \negKnow -> Retracted
2019-08-26 11:09:30 -04:00
Sam Caldwell
7462af708b
(during (know P) O ...) for internal knowledge
2019-08-26 11:09:30 -04:00
Sam Caldwell
e6b733325c
Create an actor-internal event system oriented around assertions and
...
messges.
internal form ~ external form
(know v) ~ (assert v)
(on (know p) ...) ~ (on (asserted p) ...)
(on (forget p) ...) ~ (on (retracted p) ...)
(realize! v) ~ (send! v)
(on (realize v) ...) ~ (on (message v) ...)
2019-08-26 11:09:30 -04:00
Sam Caldwell
affa47a2a5
minor printing stuff in examples
2019-08-26 11:09:29 -04:00
Sam Caldwell
458bf93fef
subgraph stuff working better
2019-08-26 11:09:29 -04:00
Sam Caldwell
c38bfdc2c0
some work on checking/finding subgraphs
2019-08-26 11:09:29 -04:00
Sam Caldwell
ee726c9177
task assigner spec and task manager type
2019-08-26 11:09:29 -04:00
Sam Caldwell
5dee1981b6
provide Branch and Effs types
2019-08-26 11:09:29 -04:00
Sam Caldwell
da900a258a
extract some code from verify body
2019-08-26 11:09:29 -04:00
Sam Caldwell
32f117df16
task performer spec and task runner type
2019-08-26 11:09:28 -04:00
Sam Caldwell
dcc4e3c411
During type abbreviation
2019-08-26 11:09:28 -04:00
Sam Caldwell
703a4c9589
support for dataflow, misc fixes and improvements
2019-08-26 11:09:28 -04:00
Sam Caldwell
3ebcf413c9
more accurate job manager type
2019-08-26 11:09:28 -04:00
Sam Caldwell
47ca363b18
add container types to proto
2019-08-26 11:09:28 -04:00
Sam Caldwell
0711cd3232
print types different
2019-08-26 11:09:28 -04:00
Sam Caldwell
6b272ad3d3
cleanups and improvements
2019-08-26 11:09:27 -04:00
Sam Caldwell
d93dc085fe
remove stop-when abomination
2019-08-26 11:09:27 -04:00
Sam Caldwell
3e1d4d108f
initial support for on start and on stop
2019-08-26 11:09:27 -04:00