Commit Graph

37 Commits

Author SHA1 Message Date
Sam Caldwell 3ec3721266 make sure meta-action is an action 2016-02-23 16:08:49 -05:00
Sam Caldwell 5c6f8aed31 fix network spawning issues 2016-02-23 16:05:51 -05:00
Sam Caldwell 79cd6eac1a Modify core behavior to run each actor concurrently
Each actor (including network actors) runs in its own thread and
communicates with its containing network via an (incoming) event
channel and an (outgoing) action channel.

Each network actor polls (syncs) on the incoming event channel from its
parent as well as the outgoing action channel from each of its child
actors. The network processes the effects of each event/action and
notifies its children by sending out the corresponding events.
2016-02-23 13:42:00 -05:00
Tony Garnock-Jones bedd44aae5 Using #f as a name doesn't override existing names. 2016-01-27 20:53:37 -05:00
Tony Garnock-Jones 03efb19a4d Optionally-named process behaviour functions 2016-01-27 20:46:24 -05:00
Tony Garnock-Jones ff3ba722ad Fix pretty-printing of networks 2016-01-24 00:03:32 -05:00
Tony Garnock-Jones 3c5a6f00ed Rename "matcher" to "trie". 2016-01-21 21:55:41 -05:00
Tony Garnock-Jones 1d28908600 Add project-assertions convenience routine. 2016-01-18 17:33:26 -05:00
Tony Garnock-Jones aa9677dbe1 Rename World to Network 2016-01-18 14:29:48 -05:00
Tony Garnock-Jones 29042830e2 Greatly improve pretty-printing of many prospect structures 2015-12-11 15:21:24 +13:00
Tony Garnock-Jones d9db671896 Provide sequence-transitions*, sequence-transitions0 and sequence-transitions0* 2015-12-11 15:16:06 +13:00
Tony Garnock-Jones c7870086c5 sequence-transitions0, sequence-transitions0*, and sequence-transitions* 2015-12-10 12:59:33 +13:00
Tony Garnock-Jones 4db7c17dc8 Refactor split in responsibilities between core and mux 2015-12-05 05:58:16 +13:00
Tony Garnock-Jones 66fbb5e398 Fix create-process: it returns a transition 2015-12-05 04:40:30 +13:00
Tony Garnock-Jones 3087658f01 Fix missing exn propagation 2015-12-03 12:56:52 -08:00
Tony Garnock-Jones 506d74ed42 Support other kinds of actions than patches when first spawning a process 2015-12-03 12:56:52 -08:00
Tony Garnock-Jones c4f8b42787 Allow recording of exceptions in quit structs. 2015-11-17 14:01:04 -05:00
Tony Garnock-Jones 212900bc1a Cope with quit-world in the middle of an action sequence; TODO: unclear whether this is the best approach 2015-10-23 21:49:21 -04:00
Tony Garnock-Jones d7095c9995 quit-world action 2015-10-23 19:49:30 -04:00
Tony Garnock-Jones 7ed7ce096d Add (seal)s, for hiding structure from the routing table. Drastically improves big-bang example performance. 2015-09-07 16:05:06 -04:00
Tony Garnock-Jones 2b5358ab2c More flexible state printing during tracing 2015-05-11 18:25:21 -04:00
Tony Garnock-Jones a016a967ef Improve comprehensibility of traces 2015-03-21 12:30:10 -04:00
Tony Garnock-Jones ec2eea9e25 Factored out mux.rkt 2015-03-16 10:38:32 -04:00
Tony Garnock-Jones bf316f792b Provide transition-bind and sequence-transitions 2015-03-06 15:49:39 +00:00
Tony Garnock-Jones 6ccb9b5a57 Retain disabled behaviors, for the benefit of tracing & debugging 2015-03-06 14:45:06 +00:00
Tony Garnock-Jones 261c84b40d World boot actions must be properly cleaned. 2015-03-06 13:24:43 +00:00
Tony Garnock-Jones 224eff369b Export projection utilities and matcher-non-empty? from core.rkt 2015-03-06 13:24:21 +00:00
Tony Garnock-Jones 0a509dce1b spawn/stateless 2015-03-06 13:23:36 +00:00
Tony Garnock-Jones e4c0f7e95d Fix incorrect compute-aggregate-patch logic. 2015-03-06 11:22:29 +00:00
Tony Garnock-Jones 98bfbef056 Much improved quit/transition protocol. 2015-03-06 11:21:50 +00:00
Tony Garnock-Jones 9f631e6143 Cosmetic 2015-03-05 20:36:11 +00:00
Tony Garnock-Jones 1972a98d8b Provide prepend-at-meta 2015-03-05 16:39:57 +00:00
Tony Garnock-Jones 05916dce18 Fix bug: matcher-match-matcher needed an (observe) wrapper around the object matcher 2015-03-05 16:39:48 +00:00
Tony Garnock-Jones e731282ddd First running program; port some infrastructure from minimart 2015-03-05 14:54:12 +00:00
Tony Garnock-Jones 2fa40c3917 Messages (alongside patches); traces 2015-03-04 16:16:18 +00:00
Tony Garnock-Jones 6e477b37bb More work on core and ancillary libraries 2015-03-04 14:45:16 +00:00
Tony Garnock-Jones 8579ec4151 Initial commit. Improved API to route.rkt (from minimart). 2015-03-02 16:10:11 +00:00