Tony Garnock-Jones
cfe2cc4af7
Update to latest racket-auxiliary-macro-context
2022-12-15 11:09:40 +13:00
Tony Garnock-Jones
7f84fb9d10
drivers/http: support 405 Method Not Allowed response
2022-12-14 12:10:53 +13:00
Tony Garnock-Jones
271da81942
drivers/http: avoid values, better async usage
2022-12-14 11:53:51 +13:00
Tony Garnock-Jones
b4b44b6444
Update dependencies
2022-12-13 21:06:20 +13:00
Tony Garnock-Jones
9cbe11b32d
HTTP driver
2022-12-13 21:03:44 +13:00
Tony Garnock-Jones
bd5cb6e35c
Merge latest changes from the syndicate-protocols repository
2022-12-13 18:08:59 +13:00
Tony Garnock-Jones
4878c40be5
Make suspend exit the async block
2022-12-09 21:24:13 +13:00
Tony Garnock-Jones
41b38e7fb2
define/await
2022-11-30 19:50:25 +00:00
Tony Garnock-Jones
092fb7eb2f
async.rkt
2022-11-30 18:27:54 +00:00
Tony Garnock-Jones
4e79ff6db0
Repair schema-compiler
2022-11-25 13:50:42 +01:00
Tony Garnock-Jones
e17aa14a44
Return void from let/query
2022-11-25 13:50:36 +01:00
Tony Garnock-Jones
d4a03a3f7c
Commit to having onStop shutdownActions run in parent facet context
2022-11-24 14:29:51 +01:00
Tony Garnock-Jones
83b0cd41e0
Repair quotation of ellipsis literals
2022-11-24 09:58:04 +01:00
Tony Garnock-Jones
094838bd2b
Support for running Racket programs as inferior services
2022-05-26 17:07:40 +02:00
Tony Garnock-Jones
004bcbc5a8
Move syndicate-protocols inside the syndicate package, so that the package-builder can see it
2022-05-25 21:02:57 +02:00
Tony Garnock-Jones
ad69faaca4
Rename launchers to avoid conflict with syndicate-rs syndicate-server
2022-04-30 20:20:17 +03:00
Tony Garnock-Jones
1b9eddc0b6
Update code to match latest schema changes
2022-01-20 09:54:07 +01:00
Tony Garnock-Jones
0b2b0f4dfa
A new test
2022-01-16 09:48:31 +01:00
Tony Garnock-Jones
d4d53fa9ba
Bump copyright years
2022-01-16 09:48:18 +01:00
Tony Garnock-Jones
51422d2450
Use internal mutation instead of re-parameterization
2021-12-01 15:04:14 +01:00
Tony Garnock-Jones
c5643fb1b1
No more distinction between internal/external protocol variants
2021-09-24 13:02:51 +02:00
Tony Garnock-Jones
701f5722f0
Error on sending transient references
2021-09-02 16:47:09 +02:00
Tony Garnock-Jones
5ff75d05ab
Remove name from DBind
2021-08-11 15:52:01 -04:00
Tony Garnock-Jones
f82b9094a0
Bring up to date with latest changes
2021-07-27 16:01:12 +02:00
Tony Garnock-Jones
b4b5a443d1
Use external protocol variant
2021-07-03 16:33:10 +02:00
Tony Garnock-Jones
8008ca5a53
Rearrange protocols subtree
2021-07-01 09:51:17 +02:00
Tony Garnock-Jones
824c2e201c
Rename NamedSimplePattern_ -> Binding
2021-06-25 10:25:39 +02:00
Tony Garnock-Jones
f2063997ec
Update schemas to match new identifier restrictions.
2021-06-25 09:45:38 +02:00
Tony Garnock-Jones
1d43b731f3
Repair embarrassing error in gen:custom-write for fields
2021-06-21 14:40:00 +02:00
Tony Garnock-Jones
1fb116630e
Queries
2021-06-21 14:39:41 +02:00
Tony Garnock-Jones
6fe031e678
once
2021-06-18 22:19:54 +02:00
Tony Garnock-Jones
dfd51a5235
Repair connection-state tracking
2021-06-18 18:12:23 +02:00
Tony Garnock-Jones
2e0b9505cc
Sensible defaults; and return local source/sink from establish-connection
2021-06-18 17:43:16 +02:00
Tony Garnock-Jones
20eeb6cd55
Introduce "smart constructors" for patterns to merge literal chunks where possible, making patterns-over-patterns less annoying to express (hopefully)
2021-06-18 17:02:56 +02:00
Tony Garnock-Jones
8b1d3a5e3f
Put pattern-expanders first
2021-06-18 14:57:21 +02:00
Tony Garnock-Jones
6284fd6ebc
Slightly better error messages
2021-06-18 14:57:05 +02:00
Tony Garnock-Jones
28901e9d31
Simpler stream connection protocol.
2021-06-18 13:48:12 +02:00
Tony Garnock-Jones
68db114840
Factor generic stream stuff out of tcp.rkt into stream.rkt
2021-06-17 15:26:14 +02:00
Tony Garnock-Jones
0ab3526cba
Services and service activation
2021-06-17 14:57:06 +02:00
Tony Garnock-Jones
373fb77fc3
Make distributed/tcp-server respect TcpListenError
2021-06-17 13:43:01 +02:00
Tony Garnock-Jones
ac8ea67ab1
`when` -> `on`; StreamConnection API; better `this-target`; tcp-listen errors
...
- spec-generic StreamConnection translators, for simple TCP API
- `when` -> `on`, better use for event-expanders
- Removal of special processing of `at`, making `this-target` properly lexically scopeable
- TcpListenError and handling of tcp-listen errors
- SYNDICATE_COLUMNS for pretty-printing of dataspace traces
- Repair driver-support.rkt thread shutdown turn-taking
- Refinements to stream protocols and implementation
- Improvements to syntax location preservation in syntax.rkt
2021-06-17 13:38:30 +02:00
Tony Garnock-Jones
a43b6d39aa
Downgrade a log-warning to a log-debug
2021-06-16 21:56:40 +02:00
Tony Garnock-Jones
d30c6feeee
Split out experimental "stream" protocols; make tcp.rkt use them; more inertness checks
...
Also, a few other important changes:
- Better printing of entity-ref structs
- Inertness checks on assertion retraction (!) and preventer-disarm
- Correct selection of active facet during dataflow recomputations
- Repair silly omission in turn-assert/dataflow!
2021-06-16 21:44:07 +02:00
Tony Garnock-Jones
ab9168a5ea
Better facet printing
2021-06-15 14:49:34 +02:00
Tony Garnock-Jones
44bee78044
stop-actor-system
2021-06-15 14:26:19 +02:00
Tony Garnock-Jones
3fe5d3a343
Check for EOF even when there are no credits
2021-06-15 14:03:26 +02:00
Tony Garnock-Jones
2b18bb5b36
Fix ordering of credit issue
2021-06-15 13:58:26 +02:00
Tony Garnock-Jones
cf99f2e2b3
Extra engine debug
2021-06-15 12:46:17 +02:00
Tony Garnock-Jones
9451f9886f
Whole-packet flow credit
2021-06-15 12:46:09 +02:00
Tony Garnock-Jones
b64b111a45
Split out assert-control
2021-06-15 12:44:13 +02:00
Tony Garnock-Jones
210e983c8d
Redo actor-group linking style
2021-06-15 12:43:27 +02:00
Tony Garnock-Jones
0b1e9874d1
Treat #:message separately from #:asserted.
...
While in principle messages are "instantaneous" assertions, it invites
confusion to treat them as such in context of `(object)` because
assertions by default spawn nested facets, so it's too easy to
accidentally wrap a message handler in an unwanted facet. Being
explicit about messages means you never get an unwanted facet wrapper.
2021-06-15 12:41:46 +02:00
Tony Garnock-Jones
d23e264756
escape-pod
2021-06-15 12:38:13 +02:00
Tony Garnock-Jones
6c5e6b713e
Print (DEAD) on a dead facet
2021-06-15 12:37:59 +02:00
Tony Garnock-Jones
6c9926cb11
Add ConnectionPeer assertions; rename TcpOutbound -> TcpRemote and TcpInbound -> TcpLocal
2021-06-15 12:37:14 +02:00
Tony Garnock-Jones
a0a963f1e2
Provide event-expanders
2021-06-14 19:23:20 +02:00
Tony Garnock-Jones
00ed26fb60
More indentation configurations
2021-06-14 19:23:12 +02:00
Tony Garnock-Jones
4a0e6e0519
actor-group; bug fixes
2021-06-13 07:55:50 +02:00
Tony Garnock-Jones
4dc40da056
Batch outbound actions per-actor, not per-facet; continue to retain ordering within a batch group
2021-06-12 22:16:59 +02:00
Tony Garnock-Jones
6546e335ef
Refactor/repair tcp.prs and tcp.rkt
2021-06-11 15:29:12 +02:00
Tony Garnock-Jones
d304d1e87d
Credit-based flow control on tcp driver; line mode
2021-06-11 14:18:53 +02:00
Tony Garnock-Jones
5e1518c2bb
Avoid caching turn past a user action (which causes problems if we suspend/resume across turns)
2021-06-11 09:57:35 +02:00
Tony Garnock-Jones
4970d0fd9e
Tweak error message
2021-06-11 09:56:35 +02:00
Tony Garnock-Jones
b2c591777e
Avoid potential (?) for wrong early termination of engine
2021-06-11 09:55:48 +02:00
Tony Garnock-Jones
26ca865b87
More sensible representation of facet ancestry
2021-06-11 09:54:53 +02:00
Tony Garnock-Jones
0ba6bac01b
Clean up relay logging
2021-06-10 16:46:28 +02:00
Tony Garnock-Jones
b409063ff2
Handle EPIPE in tcp driver
2021-06-10 16:46:20 +02:00
Tony Garnock-Jones
6ea074948a
Launchers from previous incarnation
2021-06-10 16:46:02 +02:00
Tony Garnock-Jones
247fd1b2c0
Introduce `object` and `spawn/link`
2021-06-10 16:21:30 +02:00
Tony Garnock-Jones
b5c57381fa
Simplify during*
2021-06-10 14:41:57 +02:00
Tony Garnock-Jones
2f4525b031
Split out tcp-client.rkt and tcp-echo-server.rkt
2021-06-10 13:35:26 +02:00
Tony Garnock-Jones
11eb0bcd6f
drivers/racket-event.rkt
2021-06-10 13:34:18 +02:00
Tony Garnock-Jones
1ca04c66b0
Detect situation with empty spawn body
2021-06-10 13:33:34 +02:00
Tony Garnock-Jones
752bc91991
ActiveSocket-close now gets a string, not an embedded exn
2021-06-10 13:33:16 +02:00
Tony Garnock-Jones
3984a2c22a
Correct generation of patterns for literal embedded-values
2021-06-10 13:32:39 +02:00
Tony Garnock-Jones
7790923e65
Split out timer-demo.rkt
2021-06-10 13:30:30 +02:00
Tony Garnock-Jones
bd65204760
entity/stop-on-retract
2021-06-10 13:29:19 +02:00
Tony Garnock-Jones
37ca805969
Ambient current-turn
2021-06-10 11:42:07 +02:00
Tony Garnock-Jones
9aa33210b0
Use tcp driver in tcp-server
2021-06-10 10:53:30 +02:00
Tony Garnock-Jones
45e8c29976
TCP client driver, and provides
2021-06-10 10:42:59 +02:00
Tony Garnock-Jones
336811c51e
Beginnings of a TCP driver
2021-06-10 10:00:43 +02:00
Tony Garnock-Jones
5ab375bc26
Conditional assertion
2021-06-10 10:00:22 +02:00
Tony Garnock-Jones
82648dc0da
Port timer driver from older syndicate/rkt implementation
2021-06-09 23:08:06 +02:00
Tony Garnock-Jones
ee5a5d9f5f
Cosmetic, more or less
2021-06-09 23:07:18 +02:00
Tony Garnock-Jones
de18aa2112
Add debug output to facet-inert?
2021-06-09 23:07:03 +02:00
Tony Garnock-Jones
b12fc5188d
"Linking" during spawn; and during/spawn
2021-06-09 23:06:40 +02:00
Tony Garnock-Jones
5dec0afe39
syntax-classes.rkt
2021-06-09 23:05:51 +02:00
Tony Garnock-Jones
52362a9183
facet-on-end-of-turn!
2021-06-09 23:04:58 +02:00
Tony Garnock-Jones
e8a2e00fa2
TAttenuate
2021-06-09 15:06:58 +02:00
Tony Garnock-Jones
fff4b05036
Run packet writer in a turn to add proper error handling
2021-06-09 14:53:41 +02:00
Tony Garnock-Jones
c40ba51a29
Oops! Omitted DBind case when extending index skeleton
2021-06-09 14:53:22 +02:00
Tony Garnock-Jones
d0fb1cfa99
Various missing con/destructors
2021-06-09 14:53:08 +02:00
Tony Garnock-Jones
eb3aa40541
Fix double-embedded problem; ~working tcp-server!
2021-06-08 18:01:27 +02:00
Tony Garnock-Jones
5c2bdb1e93
Don't silently swallow errors in linked-thread
2021-06-08 16:37:40 +02:00
Tony Garnock-Jones
2276d1a81e
Allow deferred production of initial-ref
2021-06-08 16:35:07 +02:00
Tony Garnock-Jones
600a52c287
Fully expose the problem with missing-unwrapping-of-embedded
2021-06-08 16:34:51 +02:00
Tony Garnock-Jones
40c26f006e
Remove :template in favour of ->preserve
2021-06-08 16:20:58 +02:00
Tony Garnock-Jones
ef66c1d358
Further adaptation to recent Preserves changes
2021-06-08 16:09:59 +02:00
Tony Garnock-Jones
92eab82b1f
Correct name of engine.rkt logger
2021-06-08 15:57:25 +02:00
Tony Garnock-Jones
19fc5f97bb
Adapt to recent changes in preserves-schema
2021-06-08 15:39:55 +02:00