Commit Graph

68 Commits

Author SHA1 Message Date
Tony Garnock-Jones 290170f450 Simple test harness 2018-04-27 23:53:31 +01:00
Tony Garnock-Jones d6c0241c57 Cosmetic notes 2018-04-27 18:23:34 +01:00
Tony Garnock-Jones a4abea9d87 Remove current-dataspace parameter 2018-04-27 18:05:33 +01:00
Tony Garnock-Jones 0cbb5b061c Cosmetic notes 2018-04-27 17:36:43 +01:00
Tony Garnock-Jones 65a221ae68 New failing test case. This, plus recent commits, calls for a
different strategy for tracking the retractions necessary at actor
termination.
2018-04-27 10:55:21 +01:00
Tony Garnock-Jones a247d8fd2b Switch adhoc-assertions to a bag (from a set).
This repairs a bug regarding crashes in a new actor's boot-proc.

Previously, if boot-proc raised an exception, the initial assertions
would stick around forever. By changing adhoc-assertions to a bag
rather than a set, and putting the initial assertions in the bag, we
put them somewhere they are guaranteed to be processed during actor
termination, even when an exception is signalled during boot.

This is an API change wrt the previous Syndicate implementation:
assert!/retract! now have bag semantics, not set semantics. We can add
set-semantics APIs if we end up needing them, of course, layered on
top of the bag implementation.
2018-04-27 09:59:03 +01:00
Tony Garnock-Jones 928e48113f Failing test: an exception in a stop script messes up cleanup 2018-04-25 20:13:54 +01:00
Tony Garnock-Jones bc9b931312 Omit "name" to ctor for dataspace struct - name is/will be a property of the downward relay connection 2018-04-25 19:30:45 +01:00
Tony Garnock-Jones e6d6f67021 during/spawn 2018-04-22 21:07:35 +01:00
Tony Garnock-Jones 1523ef17cf Correct typo 2018-04-22 21:06:18 +01:00
Tony Garnock-Jones 55f4b55784 Implement during and ad-hoc assertions 2018-04-19 17:55:52 +01:00
Tony Garnock-Jones 5377a486c9 Better Isolated Turn Principle 2018-04-11 12:28:09 +01:00
Tony Garnock-Jones 533d6f9a24 Improve syntax location tracking 2018-04-09 10:29:14 +01:00
Tony Garnock-Jones 3452f1fe6e Script suspend and resume 2018-04-09 10:23:22 +01:00
Tony Garnock-Jones bd9dcb61ca Simple messages-per-second test (~195kHz at present) 2018-04-08 12:06:37 +01:00
Tony Garnock-Jones eb24d566e9 Progress on syntax veneer 2018-04-08 11:44:32 +01:00
Tony Garnock-Jones e84f2e2e39 Eliminate (interesting uses of) facet IDs by storing references directly 2018-04-08 08:52:37 +01:00
Tony Garnock-Jones 3c70496688 Steps toward API usable by syntax layer; beginning of syntax layer, adapted from previous implementation 2018-04-08 07:39:39 +01:00