Tony Garnock-Jones
081383d321
Correct grammatical error in error message
2016-07-10 18:41:29 -04:00
Tony Garnock-Jones
adf2d1e291
Disallow usage of assert!/retract!/patch! outside scripts
2016-07-10 16:48:09 -04:00
Tony Garnock-Jones
9bf2991da8
Enforce rule: fields legal only at actor toplevel or in facet setup code
2016-07-10 16:47:37 -04:00
Tony Garnock-Jones
175c619edc
#lang syndicate/actor
2016-07-10 12:33:16 -04:00
Tony Garnock-Jones
bf12d3f27f
Examples demonstrating illegal field flow
2016-07-09 17:25:37 -04:00
Tony Garnock-Jones
1e1fef6a6e
Correctly (?) prune field-tables
2016-07-09 17:24:23 -04:00
Tony Garnock-Jones
3bc95aeaeb
Update big-bang.rkt to the new Syndicate/Racket HLL.
2016-07-09 16:35:29 -04:00
Tony Garnock-Jones
8ca2b1ac0c
Reimplement Syndicate/Racket with a new design.
...
This is Syndicate/Racket v2, modeled more closely after Syndicate/js.
Facets and Endpoints are now contained within a single actor, unlike
Syndicate/Racket v1, where a linkage protocol between multiple actors
was used. The approach to actor and facet state has been revised as a
consequence.
Almost all the examples using syndicate/actor have been updated.
2016-07-09 16:18:30 -04:00
Tony Garnock-Jones
52aed3111c
Print process names during exn; avoid double-printing exns
2016-07-09 15:28:31 -04:00
Tony Garnock-Jones
d244866617
Fix match-value/captures for vectors (and hence structs)
2016-07-09 13:21:20 -04:00
Tony Garnock-Jones
707245cfe2
Support broadcast messages
2016-06-27 14:54:07 -04:00
Tony Garnock-Jones
173a0edb54
two-buyer-protocol.rkt
2016-06-23 10:48:28 -04:00
Tony Garnock-Jones
e5a38d5fe5
Instantiated patterns need `?`, not `_`.
2016-06-18 11:57:11 -04:00
Tony Garnock-Jones
eac9f39169
Mini version of forward-chaining.rkt using syndicate/actor
2016-06-14 04:01:54 -04:00
Tony Garnock-Jones
4ae9aa0e2b
Move the newly-runnable example into examples/actor
2016-06-14 03:51:10 -04:00
Tony Garnock-Jones
f21e58dacb
Support #:meta-level for during
2016-06-14 03:48:31 -04:00
Tony Garnock-Jones
7271ef6b73
Ensure that `?` is provided by pattern.rkt and clients
2016-06-14 03:48:12 -04:00
Tony Garnock-Jones
0b964bb1bb
Compute `retracted` pattern just once during `during`. Avoids mutation-related bug.
2016-06-11 06:59:59 -04:00
Tony Garnock-Jones
7e144ab33b
Remove unused require
2016-06-09 14:24:03 -04:00
Tony Garnock-Jones
403cc372c1
Forgot to update endpoint.rkt's use of <spawn>
2016-06-09 14:23:54 -04:00
Tony Garnock-Jones
d161d50b9a
Split out pattern.rkt
2016-06-08 14:22:35 -04:00
Tony Garnock-Jones
2a218dd0a6
Split out effect-handling library.
2016-06-08 13:52:32 -04:00
Tony Garnock-Jones
e74f6ae7e5
Initial support for properly-recorded actor names.
2016-06-06 16:45:42 -04:00
Tony Garnock-Jones
cd94df3cab
Report non-network-failure exceptions more clearly
2016-06-06 10:36:00 -04:00
Tony Garnock-Jones
9af4e88681
Optional SSL options for broker
2016-06-05 12:06:28 -04:00
Tony Garnock-Jones
f3645b9081
Better choice of example UDP multicast group address.
2016-05-28 10:32:03 -04:00
Tony Garnock-Jones
f6ed330a0d
UDP multicast support
2016-05-27 19:43:35 -04:00
Tony Garnock-Jones
4d905e9f3f
Correct typo in documentation
2016-05-27 18:45:41 -04:00
Tony Garnock-Jones
5c288036aa
Friendlier error when one accidentally asserts wildcard
2016-05-17 02:08:23 -04:00
Tony Garnock-Jones
791d2880ae
If a parent facet terminates, its children watch for this and terminate themselves.
2016-05-17 01:15:09 -04:00
Tony Garnock-Jones
1e84a3507d
Avoid use of racket/match for message matching in actors; makes abstracting over patterns easier
2016-05-17 01:14:48 -04:00
Tony Garnock-Jones
e3ff45b08e
Fix wildcard matcing in trie-lookup to properly prepend wilds for open-parens.
2016-05-17 01:11:00 -04:00
Tony Garnock-Jones
07ef4f108e
Improve printing of actor state
2016-05-17 01:10:26 -04:00
Tony Garnock-Jones
b1f7816418
Only fire (on (asserted)) when no previous matching assertions have been seen.
...
This makes (on (asserted)), (on (retracted)) and (during) behave as if
they are *grouping* by their named captures, which is what we want. It
gives a much easier to understand programming model. Note the
differences in execution of example-partial-retraction.rkt before and
after this patch. This patch gives example-partial-retraction.rkt, and
programs like it, a more natural behaviour.
2016-05-17 00:24:17 -04:00
Tony Garnock-Jones
3db6177ce9
Second listener, this one using during
2016-05-17 00:15:52 -04:00
Tony Garnock-Jones
d9b11566f5
example-partial-retraction.rkt
2016-05-17 00:09:18 -04:00
Tony Garnock-Jones
c7b62b109e
Slightly less noisy logging from broker by default
2016-05-16 14:18:44 -04:00
Tony Garnock-Jones
cd60353053
Remove obsolete definition.
2016-05-15 07:01:32 -04:00
Tony Garnock-Jones
74c663d5d4
Provide broker-scope and broker-data from server.rkt
2016-05-15 06:59:28 -04:00
Tony Garnock-Jones
81f9a0f0fe
Split host and port in websocket-remote-client and broker-scope.
2016-05-15 06:56:29 -04:00
Tony Garnock-Jones
c29ae059ff
Make sure to advertise presence even during connection establishment, since otherwise the user actor may hang indefinitely.
2016-05-15 06:55:39 -04:00
Tony Garnock-Jones
0f1fabddfb
Better logging of websocket connection failures.
2016-05-15 06:55:14 -04:00
Tony Garnock-Jones
931c54df6a
It is expected that outbound connection supply should drop.
2016-05-15 06:53:02 -04:00
Tony Garnock-Jones
b65291e789
Remove obsolete clean-patch function.
2016-05-15 06:11:04 -04:00
Tony Garnock-Jones
e7b0e15786
Support nested observation across broker protocol
2016-05-15 06:10:51 -04:00
Tony Garnock-Jones
ee120022a4
trie-step*
2016-05-15 06:10:31 -04:00
Tony Garnock-Jones
7a4f1d8931
Update Racket demand-matcher to match improvements in the js version.
2016-05-14 17:07:50 -04:00
Tony Garnock-Jones
68cde5be6c
DemandMatcher: overlap not ruled out! Remove it.
2016-05-12 22:18:57 -04:00
Tony Garnock-Jones
c6cfa2fe87
Scoped broker connections
2016-05-12 12:32:29 -04:00
Tony Garnock-Jones
f486f93bd4
More ergonomic step/prepend for tries and patches
2016-05-12 12:18:59 -04:00