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
Sam Caldwell
5da04741f2
add messages to proto
2020-03-10 11:44:16 -04:00
Sam Caldwell
4d6878626c
small cleanup
2020-03-10 11:44:16 -04:00
Sam Caldwell
712dbd12c9
reorganize examples
2020-03-10 11:44:16 -04:00
Sam Caldwell
9cdaf768d8
job manager role
2020-03-10 11:44:16 -04:00
Sam Caldwell
de88dc3c83
more event constructors in proto
2020-03-10 11:44:16 -04:00
Sam Caldwell
5c6b473b62
replace some dataflow with internal events in typed flink
2020-03-10 11:44:16 -04:00
Sam Caldwell
b3cb16192c
allow equal? when there's overlap
2020-03-10 11:44:15 -04:00
Sam Caldwell
945256b567
internal events for typed lang
2020-03-10 11:44:15 -04:00
Sam Caldwell
cefe70c590
Change type names Know -> Asserted, \negKnow -> Retracted
2020-03-10 11:44:15 -04:00
Sam Caldwell
e0d1975e2d
(during (know P) O ...) for internal knowledge
2020-03-10 11:44:15 -04:00
Sam Caldwell
d8516060c4
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) ...)
2020-03-10 11:44:15 -04:00
Sam Caldwell
a1ca2372a5
minor printing stuff in examples
2020-03-10 11:44:15 -04:00
Sam Caldwell
426b0899ac
subgraph stuff working better
2020-03-10 11:44:15 -04:00
Sam Caldwell
1cd46da9d0
some work on checking/finding subgraphs
2020-03-10 11:44:15 -04:00
Sam Caldwell
1450665dc0
task assigner spec and task manager type
2020-03-10 11:44:14 -04:00
Sam Caldwell
9893f4dea1
provide Branch and Effs types
2020-03-10 11:44:14 -04:00
Sam Caldwell
7dd9700c99
extract some code from verify body
2020-03-10 11:44:14 -04:00
Sam Caldwell
a41cee09bf
task performer spec and task runner type
2020-03-10 11:44:14 -04:00
Sam Caldwell
0d4f8df3b4
During type abbreviation
2020-03-10 11:44:14 -04:00
Sam Caldwell
116dcefc1a
support for dataflow, misc fixes and improvements
2020-03-10 11:44:14 -04:00
Sam Caldwell
9b4f76b0ac
more accurate job manager type
2020-03-10 11:44:14 -04:00
Sam Caldwell
989c6af818
add container types to proto
2020-03-10 11:44:13 -04:00
Sam Caldwell
d9da970742
print types different
2020-03-10 11:44:13 -04:00
Sam Caldwell
5d922fe030
cleanups and improvements
2020-03-10 11:44:13 -04:00
Sam Caldwell
c1190958bd
remove stop-when abomination
2020-03-10 11:44:13 -04:00
Sam Caldwell
57d641dcc3
initial support for on start and on stop
2020-03-10 11:44:13 -04:00
Sam Caldwell
397bebe4a3
small cleanup
2020-03-10 11:44:13 -04:00
Sam Caldwell
b0ff2e8620
parse quoted turnstile types
2020-03-10 11:44:13 -04:00
Sam Caldwell
6230ed577e
tweak how types are printed
2020-03-10 11:44:12 -04:00
Sam Caldwell
7994bfb9c6
cleanup
2020-03-10 11:44:12 -04:00
Sam Caldwell
227768efd8
forgot to add maybe.rkt and either.rkt
2020-03-10 11:44:12 -04:00
Sam Caldwell
f20adacfde
typed flink working!
2020-03-10 11:44:12 -04:00