Commit Graph

78 Commits

Author SHA1 Message Date
Emery Hemingway a2849b18c9 Preserves: floats merged into doubles 2024-02-08 15:28:37 +00:00
Emery Hemingway f3d6e578cb Single IEEE754 type 2024-02-08 15:28:37 +00:00
Emery Hemingway 46dca031fa relays: split connecting and resolving 2024-02-08 15:28:37 +00:00
Emery Hemingway a05cfa37eb Make publish and spawn discardable 2024-02-08 15:28:37 +00:00
Emery Hemingway d6a8b31812 patterns: do not match inner types at dropType 2024-02-08 15:28:36 +00:00
Emery Hemingway a4ba81a481 Cleanup relays 2024-01-16 19:59:34 +02:00
Emery Hemingway 0e5637a6c3 Patterns: selectively grab dictionary fields 2024-01-14 12:13:30 +02:00
Emery Hemingway 3e11884a91 Update Preserves lock 2024-01-08 12:59:11 +02:00
Emery Hemingway e48c62f448 Shuffle imports 2024-01-06 13:56:12 +02:00
Emery Hemingway 1e107131d8 WiP! Value transition 2024-01-01 20:20:44 +02:00
Emery Hemingway c0cff79313 Migrate to non-generic Preserves 2023-12-31 19:17:44 +02:00
Emery Hemingway b5aa2a7b8f Grab values with `?` and types with `?:`
In this case it must be explicit if a proc is taking a value or a
type.
2023-12-30 17:57:37 +02:00
Emery Hemingway 0954180321 Fork hashlib to remove hardware-specific optimizations 2023-11-30 11:13:25 +02:00
Emery Hemingway 8a7cc884fe Export newFacet 2023-11-08 15:06:59 +00:00
Emery Hemingway 23c69f63a5 Export depattern proc 2023-11-07 17:33:27 +00:00
Emery Hemingway 8bc0ee2ae5 relays: publish gatekeeper rather then pass by future 2023-11-02 15:47:53 +00:00
Emery Hemingway 090b4d77ef Move projectPath into Preserves library 2023-10-28 00:25:58 +01:00
Emery Hemingway 00609f3b6f Fix protocol 2023-10-28 00:25:13 +01:00
Emery Hemingway 843252ad61 Patterns: preserve the value of Literal 2023-10-26 13:12:31 +01:00
Emery Hemingway 311b614979 Move route finding into syndicate/relays 2023-10-21 17:38:59 +01:00
Emery Hemingway a987f875a9 Print the pattern of problematic captures 2023-10-20 13:30:24 +01:00
Emery Hemingway 57b99b20e7 Update Preserves dependency 2023-10-19 18:18:23 +01:00
Emery Hemingway 4a6e95bbce patterns: add Literal[T] type for literal capture 2023-10-15 12:11:10 +01:00
Emery Hemingway 3a04fc195b relays: add resolve proc 2023-10-14 00:47:16 +01:00
Emery Hemingway 552e51899c Move relays out of top module, clean exports there 2023-10-05 18:01:23 +01:00
Emery Hemingway b2994b6d05 Build metadata updates 2023-10-05 17:57:59 +01:00
Emery Hemingway d86ef24c01 Move mint utility to syndicate_utils 2023-08-25 18:31:49 +01:00
Emery Hemingway dcd6bfe99b patterns: fix a regression in field injection 2023-08-23 10:35:12 +01:00
Emery Hemingway 35670b2727 Update for Nim-2.0.0 2023-08-16 14:53:46 +01:00
Emery Hemingway 703bd7baea Update tests for Nim-2.0.0 2023-08-16 09:36:11 +01:00
Emery Hemingway ce6d97c1d3 Replace ByteAddress with uint 2023-08-05 20:29:26 +01:00
Emery Hemingway ba2ea5d08b Expose bindings values in during, onPublish, and onMessage 2023-08-01 11:05:07 +01:00
Emery Hemingway 9c5e26e8f1 Patterns sugar 2023-07-26 11:01:56 +01:00
Emery Hemingway 4e0a36ef31 skeletons: implement assertion removal 2023-07-25 18:17:55 +01:00
Emery Hemingway 7f903a14d7 Correct addCallback for returning Future values 2023-07-23 08:29:08 +01:00
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 9614955320 Tracing 2023-07-20 19:17:57 +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 219286a84a Recommend runDataspace, not bootDataspace 2023-06-30 09:51:49 +01:00
Emery Hemingway fc94fa39d8 terminate: fix off-by-inifinity bug 2023-06-11 21:21:07 +01:00
Emery Hemingway 7a36a6e8a4 patterns: unpackLiterals more 2023-06-10 01:00:12 +01:00
Emery Hemingway aff3061506 Improve error message for pattern and handler mismatch 2023-06-08 14:14:34 +01:00
Emery Hemingway 1dd197f102 Add unpackLiterals proc to patterns module 2023-05-30 13:15:47 +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 f0328b27cd Switch HMAC to BLAKE2s-256 2023-05-07 09:40:17 +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