Commit Graph

715 Commits

Author SHA1 Message Date
Tony Garnock-Jones d67d490885 Operational transformation example 2016-07-25 21:33:15 -04:00
Tony Garnock-Jones 8dba9a66c6 Line reader for TCP 2016-07-25 21:31:12 -04:00
Tony Garnock-Jones 8e22e58920 Move LLL two-buyer examples together in the syndicate collect 2016-07-25 18:37:45 -04:00
Tony Garnock-Jones a05d486354 let-event 2016-07-25 18:34:34 -04:00
Sam Caldwell ce80efeb85 Change monolithic two-buyer to syndicate/monolithic 2016-07-25 14:49:46 -04:00
Sam Caldwell fdf0fa8cf6 Add spawn/stateless to syndicate/monolithic 2016-07-25 14:48:41 -04:00
Tony Garnock-Jones 6cac704bc5 Sound 2016-07-24 14:43:27 -04:00
Tony Garnock-Jones 819ff13835 Expanders for events and assertion-patterns.
Introduced expanders for events (define-event-expander) and for
assertion-patterns (define-assertion-expander).

Introduced convenience syntax and utilities in web.rkt for working
with web requests.

Support nested bindings in assertion-patterns for message events
(only).
2016-07-23 14:57:26 -04:00
Tony Garnock-Jones 796acbeea2 Defaults for web-response-header 2016-07-23 11:40:18 -04:00
Tony Garnock-Jones b6e863fa79 Support for using struct-defaults in web.rkt, plus a simple default 2016-07-23 11:28:46 -04:00
Tony Garnock-Jones 981914c15b Move web-demo.rkt to web-sanity-check.rkt 2016-07-23 11:03:17 -04:00
Sam Caldwell c714374685 add monolithic two-buyer example 2016-07-22 18:16:50 -04:00
Sam Caldwell 9a6ce7d7f9 allow named stateless actors in monolithic lang 2016-07-22 18:16:14 -04:00
Sam Caldwell e20506644f update monolithic impl to use hierarchy.rkt 2016-07-22 16:28:22 -04:00
Sam Caldwell f28e16ee7b low-level two-buyer example 2016-07-22 15:20:10 -04:00
Sam Caldwell 9f8ddc5249 Allow stateless actors to be given names 2016-07-22 15:11:53 -04:00
Tony Garnock-Jones cecb261c6b Introduce level-anchor and level-anchor->meta-level 2016-07-21 18:53:41 -04:00
Tony Garnock-Jones 5aebc7fa75 #:meta-level in query-set and friends 2016-07-21 18:31:44 -04:00
Tony Garnock-Jones c931b0aee5 Fix dataspace macro 2016-07-21 18:31:33 -04:00
Tony Garnock-Jones c146f1d3b9 Merge branch 'incremental-actor-netstack' 2016-07-21 17:04:54 -04:00
Tony Garnock-Jones d33d2f42a3 Move incremental netstack implementation to subdir 2016-07-21 17:04:43 -04:00
Tony Garnock-Jones b2d5a3f74d Copy monolithic netstack implementation to subdir, for future reference 2016-07-21 17:04:01 -04:00
Tony Garnock-Jones e1ddeb5f90 Use begin/dataflow to log allocated ports and statevecs 2016-07-21 16:50:30 -04:00
Tony Garnock-Jones e0f3650989 Switch to a more neutral webserver for fetchurl.rkt 2016-07-21 16:50:30 -04:00
Tony Garnock-Jones e165972a03 Bring fetchurl.rkt up to date 2016-07-21 16:50:30 -04:00
Tony Garnock-Jones 75ef296c58 Repair TCP state-vector tracking.
I had missed that the syndicate/monolithic implementation
was *subscribing* with a #t filter, but *projecting* without one.
2016-07-21 16:50:30 -04:00
Tony Garnock-Jones 71b8edf5c3 Remove no-longer-needed on-claim.rkt 2016-07-21 16:50:30 -04:00
Tony Garnock-Jones 015d7c38dd Properly evaluate some TCP stop-when conditions.
Prior to this commit, the stop-whens were using
current-inexact-milliseconds in a comparison to detect a timeout,
meaning that timeouts would be missed. This commit introduces a
redundant copy of current-inexact-milliseconds in a field and changes it
on every event so that stop-when expressions involving the field are
reevaluated properly frequently.
2016-07-21 16:50:30 -04:00
Tony Garnock-Jones 09dfaf7d0e Migrate ip, port-allocator, udp and tcp to syndicate/actor 2016-07-21 16:50:30 -04:00
Tony Garnock-Jones 04f1c56a5a Migrate main.rkt to syndicate/actor 2016-07-21 16:50:30 -04:00
Tony Garnock-Jones ec2996e931 Migrate fetchurl.rkt to syndicate/actor 2016-07-21 16:50:30 -04:00
Tony Garnock-Jones b444bccb80 Migrate demo-config.rkt to syndicate/actor 2016-07-21 16:50:30 -04:00
Tony Garnock-Jones fb5b6e80b8 Translate Ethernet and ARP to incremental/actor style 2016-07-21 16:50:30 -04:00
Tony Garnock-Jones 4357424e78 Switch to non-boxed, persistent impl of fields 2016-07-21 16:50:16 -04:00
Tony Garnock-Jones 970baf7a36 Forbid multiple uses of a suspend-script continuation 2016-07-21 15:14:03 -04:00
Tony Garnock-Jones bffc3757cb Remove unused #:substate arg from add-facet!. 2016-07-21 15:00:58 -04:00
Tony Garnock-Jones 573ca4d6e5 Handle exceptions better in syndicate/threaded 2016-07-20 23:02:42 -04:00
Tony Garnock-Jones ccdaceb30c Add syndicate/threaded. 2016-07-20 22:13:43 -04:00
Tony Garnock-Jones 3569426048 Support specification of the form to use to create an actor in during/actor 2016-07-20 22:05:14 -04:00
Tony Garnock-Jones 9b5a399383 Route targeted-events via actor paths 2016-07-20 19:30:49 -04:00
Tony Garnock-Jones 815b139e5c Split out keeping track of actor paths to hierarchy.rkt 2016-07-20 18:54:31 -04:00
Tony Garnock-Jones a01480fe05 Anticipate the pid a process is *about* to be allocated. 2016-07-20 18:42:35 -04:00
Sam Caldwell c76480f701 Allow giving two contracts in field macro 2016-07-20 16:51:41 -04:00
Sam Caldwell 01ad7c72f6 Allow field/c to have different in and out contracts
This can be used to temporarily disallow writing to the field, or
allowing the field to be initially #f but never set to #f.
2016-07-20 16:34:21 -04:00
Sam Caldwell 3b9e483076 Re-kerjigger field macro to allow using #f as a contract 2016-07-20 16:14:12 -04:00
Sam Caldwell e20f87adba Implement field/c using a struct rather than make-contract
Asumu suggested that using a struct with the contract property is
generally preferred.
2016-07-19 17:49:45 -04:00
Sam Caldwell 9cf12a381e wrap contracts given to field with `field\c` 2016-07-18 15:20:38 -04:00
Sam Caldwell 0fb5fa52f4 allow field/c to blame positive party 2016-07-18 15:17:17 -04:00
Tony Garnock-Jones a046bd0f23 Experimental begin/dataflow and define/dataflow facilities 2016-07-17 12:51:57 -04:00
Tony Garnock-Jones 21f05e110a Do not provide "sleep" from the #langs 2016-07-17 12:51:57 -04:00