Commit Graph

1127 Commits

Author SHA1 Message Date
Tony Garnock-Jones d7a594e2b9 Counting-semaphore-like mutex, and dining philosophers. 2016-08-10 17:03:21 -04:00
Tony Garnock-Jones 3de86c3b29 Better pendingPatch logic 2016-08-07 22:50:12 -04:00
Tony Garnock-Jones 7df50fbac9 We must flushPendingPatch after enqueueing some "meta" event as an action 2016-08-07 22:50:04 -04:00
Tony Garnock-Jones a55dc6ec58 Fix expected test outputs 2016-08-07 22:44:56 -04:00
Tony Garnock-Jones 31ee867964 Cosmetic 2016-08-07 21:58:24 -04:00
Tony Garnock-Jones 5dc1d99a3b Flush accumulated patch at least once per turn, rather than only when pid or action-type changes 2016-08-07 21:58:24 -04:00
Tony Garnock-Jones 747e96714d Treat prop definition as damage; triggers previous observations of at-the-time-undefined props 2016-08-07 21:58:24 -04:00
Tony Garnock-Jones 6443e9dadd Only repair damage to subjects on non-terminated facets 2016-08-07 21:58:24 -04:00
Tony Garnock-Jones e3520ac711 Coalesce adjacent patch actions from a given pid 2016-08-07 21:58:24 -04:00
Tony Garnock-Jones 2c78d1ad0a Allocate Facet fids for debugging 2016-08-07 21:58:24 -04:00
Tony Garnock-Jones 3977e57b38 Switch back from Actor.current, using Dataspace.activeBehavior() instead 2016-08-07 21:58:23 -04:00
Tony Garnock-Jones eaade6e4fd Treat synthetic patches differently wrt previousKnowledge 2016-08-07 21:58:19 -04:00
Tony Garnock-Jones cd754be396 Cleaner presentation of patches 2016-08-07 19:43:21 -04:00
Tony Garnock-Jones 7f785008c8 Prevent default on keypress in textfield-dsl, like plain textfield does 2016-08-07 17:50:05 -04:00
Tony Garnock-Jones 183f104ade Optional initialiser in field declaration, to match examples (!) 2016-08-07 17:34:19 -04:00
Tony Garnock-Jones add689623e Pin Ohm to v0.11.0 2016-08-07 15:39:44 -04:00
Tony Garnock-Jones 41693b897c Hook dataflow.js into Syndicate/js; add "during ... actor { ... }" 2016-08-07 15:33:09 -04:00
Tony Garnock-Jones e2575c3ea1 Remove observablePropertyCounter to help avoid accumulating garbage on prop redefinition 2016-08-07 11:31:51 -04:00
Tony Garnock-Jones f3631ed18f Handle missing options; prefix objectId with __. 2016-08-06 19:57:47 -04:00
Tony Garnock-Jones ba2f4d677d Add Dataflow.Graph.newScope. 2016-08-06 19:57:29 -04:00
Tony Garnock-Jones 8b63c68673 Add Dataflow.Graph.enforceSubjectPresence. 2016-08-06 19:57:01 -04:00
Tony Garnock-Jones 02c66c4bab Fix deps 2016-08-04 13:05:54 -04:00
Sam Caldwell 73f180d90a fix bug in LLL two-buyer 2016-08-03 14:19:18 -04:00
Tony Garnock-Jones c9ae956bd2 Update OT example 2016-08-01 17:48:13 -04:00
Tony Garnock-Jones 4138495ae1 Fix mistake in invoking translateNonTerminalCode 2016-08-01 16:45:32 -04:00
Tony Garnock-Jones e22f608109 Now that we capture parameterization for actors, current-actor-path-rev has to be a store rather than a parameter 2016-07-31 22:19:59 -04:00
Tony Garnock-Jones 4e1bab4b90 Introduce make-spawn to capture parameterizations. Closes #10. 2016-07-31 17:24:48 -04:00
Tony Garnock-Jones 1fa50e4e6a file-system-during2.rkt 2016-07-31 12:22:15 -04:00
Tony Garnock-Jones 628b7b2356 Remove superfluous begin0; reindent 2016-07-31 12:19:54 -04:00
Tony Garnock-Jones e2897d37f4 Factor out commonality from file-system*.rkt examples 2016-07-31 12:17:12 -04:00
Tony Garnock-Jones e36777584c Cosmetic 2016-07-31 12:09:27 -04:00
Tony Garnock-Jones 463dd48577 Always pick the highest-priority script to run next.
This means that `*gc-priority*` scripts will now reliably run last.
Prior to this change, if some higher-priority script X ran while a
`*gc-priority*` script Y was queued, and it enqueued a high-priority
script Z, then Y would run before Z.
2016-07-31 12:02:11 -04:00
Tony Garnock-Jones dd246ddcae I forgot the "forever". This happens somewhat frequently. 2016-07-31 11:36:56 -04:00
Tony Garnock-Jones f34924bc6d Leave a "tombstone" so we can see the process's name while any record of it remains. 2016-07-31 11:36:25 -04:00
Tony Garnock-Jones 15b5406932 First (incomplete, buggy!) commit of a port of lll-main.rkt to hll 2016-07-30 17:22:30 -04:00
Tony Garnock-Jones 8f0ba7625b Move main.rkt --> lll-main.rkt 2016-07-30 17:06:32 -04:00
Tony Garnock-Jones 4dad3e9661 Process retractions before asserts in the query forms 2016-07-30 17:05:54 -04:00
Tony Garnock-Jones 06ddbe060e Clean up various projections. 2016-07-30 15:07:23 -04:00
Tony Garnock-Jones 5f48f3ba0c Update platformer to split mux and relay. 2016-07-30 14:49:05 -04:00
Tony Garnock-Jones 9e3f804aae I don't understand how elapsed-ms can end up negative, but I was seeing it in the platformer at frame 0 2016-07-30 14:49:05 -04:00
Tony Garnock-Jones b6a03bdd9b Tweak scribblings to silence errors. Still need to update docs. 2016-07-30 14:49:05 -04:00
Tony Garnock-Jones 3edd184242 Update syndicate-gl for split mux and relay. 2016-07-30 14:49:05 -04:00
Tony Garnock-Jones c7dae47210 inbound* and outbound* are now match-expanders 2016-07-30 14:49:05 -04:00
Tony Garnock-Jones 07eb91b0d9 Update big-bang for split relay and mux. 2016-07-30 14:49:05 -04:00
Tony Garnock-Jones 17db697690 spawn->process+transition 2016-07-30 14:49:05 -04:00
Tony Garnock-Jones c0786c86ca Introduce struct process. 2016-07-30 14:49:05 -04:00
Tony Garnock-Jones 68ba2f74a6 Split dataspaces in to relay and mux sublayers.
This is a major change to the previous design, and also a change with
respect to the semantics in the ESOP 2016 paper. All the complexity of
echo-cancellation is stripped out of the core dataspace semantics, and
the relaying protocol is changed from one constructor, `at-meta`, to
two, `inbound` and `outbound`. The relay connecting a dataspace to its
container is now completely symmetric with the contained actors: it
initially asserts interest in what it is to relay, just like any other
actor would. Dataspaces no longer treat relaying specially.

This commit has updated all (I think) of the non-graphical examples. The
graphical code remains to be done in a following commit.
2016-07-30 14:49:05 -04:00
Tony Garnock-Jones b8c109d82b pretty-print-actor-state 2016-07-30 14:49:05 -04:00
Tony Garnock-Jones 2a2d363c5e Improve printing of patches 2016-07-30 14:49:05 -04:00
Tony Garnock-Jones 129dd23b84 Remove obsolete endpoint.rkt and its example 2016-07-30 14:49:05 -04:00