Commit Graph

963 Commits

Author SHA1 Message Date
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
Tony Garnock-Jones 7a3973a097 Move syndicate-monolithic to new historical directory. 2016-07-30 14:48:59 -04:00
Tony Garnock-Jones 9241775879 Multiserver. 2016-07-28 15:45:45 -04:00
Tony Garnock-Jones 56d2fc2c0d Support #:when conditional (on ...) clauses. 2016-07-28 15:45:45 -04:00
Tony Garnock-Jones 0cff79abec Switch from parameters to "stores".
A store is like a parameter, except stores are independent of each
other, unlike parameters which are bundled together into a single
parameterization. This was observable in cases like the
example-action-after-suspension code checked in here, where dataflow
invoked a script, which parameterized current-dataflow-subject-id.
This captured *too much* of things like the pending-patch and
pending-actions. Subsequent `schedule-action!` calls' effects were
then lost.
2016-07-28 15:45:45 -04:00
Sam Caldwell 2e24e105b8 Modify LLL two-buyer examples to give buyer A a budget 2016-07-28 15:33:52 -04:00
Tony Garnock-Jones be157decce Remove unneeded line 2016-07-28 06:58:36 -04:00
Tony Garnock-Jones eabf9be37b Fix stupid error 2016-07-28 06:50:35 -04:00
Sam Caldwell 48763d8dbe modify HLL two-buyer example to give buyer A a budget
no longer bathing in venture capital
2016-07-27 18:01:15 -04:00
Tony Garnock-Jones 7f930311ce dataflow.js 2016-07-27 06:51:30 -04:00
Tony Garnock-Jones e99cd0887f Improved tests for dataflow.rkt 2016-07-27 06:03:57 -04:00
Tony Garnock-Jones 05325c2699 Use a real field instead of an icky `set!` 2016-07-26 16:40:55 -04:00
Tony Garnock-Jones eb27d6acc5 Allow garbage-collection of no-longer-needed operations. 2016-07-25 21:34:19 -04:00
Tony Garnock-Jones d67d490885 Operational transformation example 2016-07-25 21:33:15 -04:00
Tony Garnock-Jones 8dba9a66c6 Line reader for TCP 2016-07-25 21:31:12 -04:00