Emery Hemingway
4b29fc009b
Return an Actor from spawn
2023-07-22 11:32:52 +01:00
Emery Hemingway
248d34ce69
Refactor syndicate macros
...
This unifies some code generation for onPublish, onMessage, and
during. The message macro now accepts a body without arguments
in the same way as the other two.
2023-07-21 20:35:53 +01:00
Emery Hemingway
146b30ed42
Refactor skeletons
2023-07-21 13:24:43 +01:00
Emery Hemingway
ca12c1ae03
Rewrite timers
2023-07-20 19:17:57 +01:00
Emery Hemingway
9614955320
Tracing
2023-07-20 19:17:57 +01:00
Emery Hemingway
7fec2d61ac
Actors lineages share a handle allocator
...
For multiple actors to communicate through the same relay they
must use unique assertion handles.
2023-07-20 19:17:57 +01:00
Emery Hemingway
76d550602f
Document relays a bit
2023-07-20 19:17:57 +01:00
Emery Hemingway
91a218f7fb
Actors lineages share a handle allocator
...
For multiple actors to communicate through the same relay they
must use unique assertion handles.
2023-07-12 15:16:20 +01:00
Emery Hemingway
b1b0477b8a
Add addCallback variant that passes on the value of a Future
2023-07-12 15:15:39 +01:00
Emery Hemingway
170f49693c
Reuse caller turn symbol in DSL macros
2023-06-30 10:05:42 +01:00
Emery Hemingway
219286a84a
Recommend runDataspace, not bootDataspace
2023-06-30 09:51:49 +01:00
Emery Hemingway
8bb9fb16d7
patterns: inject variant for dictionaries
2023-06-11 21:22:10 +01:00
Emery Hemingway
fc94fa39d8
terminate: fix off-by-inifinity bug
2023-06-11 21:21:07 +01:00
Emery Hemingway
2f4552e7fe
patterns: raise uncatchable error for set patterns
2023-06-10 21:27:54 +01:00
Emery Hemingway
0089e1f413
connectStdio: do not constrain receive buffer size
2023-06-10 21:26:20 +01:00
Emery Hemingway
7a36a6e8a4
patterns: unpackLiterals more
2023-06-10 01:00:12 +01:00
Emery Hemingway
209ae51580
patterns: inject into <bind …>
2023-06-08 14:15:03 +01:00
Emery Hemingway
aff3061506
Improve error message for pattern and handler mismatch
2023-06-08 14:14:34 +01:00
Emery Hemingway
ee3fc7adea
Better build system
2023-06-07 18:11:54 +01:00
Emery Hemingway
1dd197f102
Add unpackLiterals proc to patterns module
2023-05-30 13:15:47 +01:00
Emery Hemingway
e65cc5ab9a
Update README with test_chat notes
2023-05-18 17:56:42 +01:00
Emery Hemingway
81ec3808a6
Adjust to new syndicate-protocols
2023-05-18 12:22:55 +01:00
Emery Hemingway
ad076bdfed
actors: tweak addCallback(…) and add onStop(…)
2023-05-17 10:42:54 +01:00
Emery Hemingway
b39302791e
Add chat test that is compatible with syndicate-py
2023-05-17 10:40:41 +01:00
Emery Hemingway
737869d790
Add Direnv metadata
2023-05-16 22:53:00 +01:00
Emery Hemingway
f1cc7b336b
Build different protocol modules
2023-05-11 22:31:57 +01:00
Emery Hemingway
f0328b27cd
Switch HMAC to BLAKE2s-256
2023-05-07 09:40:17 +01:00
Emery Hemingway
94fa1efd62
Regenerate protocol modules
2023-05-06 20:22:21 +01:00
Emery Hemingway
0923b8abee
Export a different runActor proc
2023-05-06 20:09:45 +01:00
Emery Hemingway
74254dd45b
relays: reopen stdin asynchronously
...
This was preventing futures from being completed until the next
packet was received on stdin. This should fix a lot of problems
and bad behavior.
2023-05-06 16:04:20 +01:00
Emery Hemingway
572e3b76ab
Regenerate protocol modules
2023-05-03 20:51:07 +01:00
Emery Hemingway
003bfa0a97
Less use of callSoon
2023-05-03 20:51:07 +01:00
Emery Hemingway
90247e19ce
Update build metadata
2023-04-12 15:09:11 -05:00
Emery Hemingway
cf05845f15
Remove buffer limit on binary protocol decoder
...
Buffer exhaustion is a problem for the server not the client.
2023-04-10 16:57:34 -05:00
Emery Hemingway
6364db7f69
Export a default capability generator
2023-04-10 16:56:51 -05:00
Emery Hemingway
b1ad08e693
Fix patterns examples
2023-04-10 16:56:22 -05:00
Emery Hemingway
5170ad23e8
Remove dead programs
2023-04-05 15:01:47 -05:00
Emery Hemingway
53278d8614
Update to latest Preserves API
2023-03-29 17:59:47 -05:00
Emery Hemingway
ac81221faa
Add grabDict() pattern generator
2023-03-29 17:59:44 -05:00
Emery Hemingway
b1627a491a
Patterns: refactor
2023-03-26 19:28:31 -05:00
Emery Hemingway
71955f257d
Rename proc facet(…) to proc inFacet(…)
2023-03-26 19:28:08 -05:00
Emery Hemingway
6f2adf573a
Check the protocol modules
2023-03-23 14:06:05 -05:00
Emery Hemingway
114088bfe6
Tup: check syndicate module
2023-03-23 12:52:38 -05:00
Emery Hemingway
32d8719c84
Adjust for outer build system
2023-03-01 21:02:03 -06:00
Emery Hemingway
00269c04b1
Use "do ():" for compatibility with Nim 2.0.0
2022-12-21 23:01:06 -06:00
Emery Hemingway
a5c2d30ec4
Taps now takes multiple endpoints for connect
2022-12-21 23:00:04 -06:00
Emery Hemingway
589b0772e3
Make the Entity methods compatible with mm:orc
2022-12-21 22:59:16 -06:00
Emery Hemingway
47da042671
Add connectNet
...
Use Taps to connect to Syndicate peers over TCP. Taps is now a
depedency.
2022-12-13 23:03:38 -06:00
Emery Hemingway
bb4ba36ff7
Fix test_protocols
2022-12-13 23:03:26 -06:00
Emery Hemingway
108d51c8ed
Update nimble version
2022-12-13 23:03:26 -06:00