Commit Graph

642 Commits

Author SHA1 Message Date
Tony Garnock-Jones e8d33d4135 Move from syndicate-monolithic to syndicate/monolithic, in prep for refactoring 2016-07-12 13:55:59 -04:00
Tony Garnock-Jones 2afa0fce15 #lang syndicate/monolithic, integrated with incremental 2016-07-12 13:45:32 -04:00
Tony Garnock-Jones 7c11a438e4 Change compute-patch to deal with trie-sets rather than -maps 2016-07-12 13:43:01 -04:00
Tony Garnock-Jones 118c163193 Done 2016-07-11 12:27:15 -04:00
Tony Garnock-Jones 6fae78c7c6 Cosmetic 2016-07-11 12:23:05 -04:00
Tony Garnock-Jones 0314f6a400 Cosmetic 2016-07-11 12:16:22 -04:00
Tony Garnock-Jones cca195d597 New example - this one for the command line! 2016-07-11 12:04:10 -04:00
Tony Garnock-Jones 9644aa3ad1 Fixes to code-generation in Syndicate/js compiler.
1. Repair .buildSubscription(mode) so it doesn't delete spaces in
   unchanged ES5 code.
2. Avoid ',' between successive translated clauses in a
   FacetStateTransitionBlock.
2016-07-11 12:02:40 -04:00
Tony Garnock-Jones b323d7c650 Support (quit-dataspace) at ground level 2016-07-10 20:14:54 -04:00
Tony Garnock-Jones 3f3249e7a1 Convert syndicate-gl/2d basic example to syndicate/actor style 2016-07-10 19:22:48 -04:00
Tony Garnock-Jones adf6603440 Track dependencies from fields to endpoint assertion sets with simple dataflow 2016-07-10 19:22:02 -04:00
Tony Garnock-Jones b20337fad8 Introduce actor-global field-table. 2016-07-10 19:15:50 -04:00
Tony Garnock-Jones 081383d321 Correct grammatical error in error message 2016-07-10 18:41:29 -04:00
Tony Garnock-Jones 5484e1b4a3 Cannot construct a 0x0 bitmap for some reason? 2016-07-10 18:38:33 -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 31ee4cb2cd Broadcast message delivery in Syndicate/js 2016-06-27 14:59:53 -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 c8f2ea8a56 Supply error-callback and options to watchPosition 2016-06-20 11:02:18 -04:00
Tony Garnock-Jones 95c17a190c Avoid failure when currentLocation not yet initialised 2016-06-20 11:02:18 -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 7cc8f2cbe6 Remove obsolete "examples" 2016-06-14 03:55:10 -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 b857ce7bcd Actually-runnable syndicate/actor big-bang example. 2016-06-14 03:49:47 -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 0b2d80a997 Fix another overlooked use of <spawn> 2016-06-14 03:21:23 -04:00
Tony Garnock-Jones 9b2ce64300 Precompile location example. Requires rename location -> locationRecord to avoid window.location clash. 2016-06-11 07:03:39 -04:00
Tony Garnock-Jones ddd67540be Default to wss:// instead of ws:// 2016-06-11 07:02:19 -04:00
Tony Garnock-Jones 03616226e1 Run in-browser translated code in the same context as precompiled code. 2016-06-11 07:01:30 -04:00
Tony Garnock-Jones dcd8819778 Factor out clean-examples and freshen-examples targets 2016-06-11 07:00:41 -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 f4d1f5c800 Location sharing 2016-06-05 16:42:30 -04:00
Tony Garnock-Jones 02f4f9f89c Allow function declarations 2016-06-05 16:01:24 -04:00
Tony Garnock-Jones dd28b667e8 Special-case "." selector in uiEvents. 2016-06-05 15:53:28 -04:00