#lang syndicate -> #lang syndicate/core; first half of fix for #17.
This commit is contained in:
parent
6b3f8d920a
commit
837ab77002
|
@ -1,11 +1,11 @@
|
|||
#lang racket/base
|
||||
|
||||
(require (except-in "lang.rkt"
|
||||
(require (except-in "core-lang.rkt"
|
||||
dataspace
|
||||
assert
|
||||
))
|
||||
(require "actor.rkt")
|
||||
(require "hierarchy.rkt")
|
||||
(provide (except-out (all-from-out "lang.rkt") actor)
|
||||
(provide (except-out (all-from-out "core-lang.rkt") actor)
|
||||
(all-from-out "actor.rkt")
|
||||
(all-from-out "hierarchy.rkt"))
|
||||
|
|
|
@ -65,6 +65,9 @@
|
|||
boot->process+transition
|
||||
actor->process+transition/assertions)
|
||||
|
||||
(module reader syntax/module-reader
|
||||
syndicate/core-lang)
|
||||
|
||||
(require racket/match)
|
||||
(require (only-in racket/list flatten))
|
||||
(require "trie.rkt")
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#lang syndicate
|
||||
#lang syndicate/core
|
||||
|
||||
(require racket/exn)
|
||||
(require (prefix-in tcp: racket/tcp))
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#lang syndicate
|
||||
#lang syndicate/core
|
||||
;; Timer driver.
|
||||
|
||||
;; Uses mutable state internally, but because the scope of the
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#lang syndicate
|
||||
#lang syndicate/core
|
||||
|
||||
(require (prefix-in udp: racket/udp))
|
||||
(require syndicate/demand-matcher)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#lang syndicate
|
||||
#lang syndicate/core
|
||||
|
||||
(provide (struct-out websocket-remote-client)
|
||||
(struct-out websocket-local-server)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#lang syndicate
|
||||
#lang syndicate/core
|
||||
;; Hello-worldish "bank account" example.
|
||||
|
||||
(struct account (balance) #:prefab)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#lang syndicate
|
||||
#lang syndicate/core
|
||||
|
||||
(require "../big-bang.rkt")
|
||||
(require racket/math)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#lang syndicate
|
||||
#lang syndicate/core
|
||||
;; Simple mutable box and count-to-infinity box client.
|
||||
|
||||
(struct set-box (new-value) #:transparent)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#lang syndicate
|
||||
#lang syndicate/core
|
||||
|
||||
(require syndicate/protocol/advertise)
|
||||
(require (only-in racket/port read-bytes-line-evt))
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#lang syndicate
|
||||
#lang syndicate/core
|
||||
|
||||
(require syndicate/protocol/advertise)
|
||||
(require (only-in racket/string string-trim))
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#lang syndicate
|
||||
#lang syndicate/core
|
||||
|
||||
(require syndicate/protocol/advertise)
|
||||
(require (only-in racket/string string-trim))
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#lang syndicate
|
||||
#lang syndicate/core
|
||||
;; The chat server, using a proxy abstracting over details of the TCP
|
||||
;; driver's protocol.
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#lang syndicate
|
||||
#lang syndicate/core
|
||||
|
||||
(require syndicate/protocol/advertise)
|
||||
(require (only-in racket/string string-trim))
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#lang syndicate
|
||||
#lang syndicate/core
|
||||
|
||||
(require racket/set)
|
||||
(require racket/file)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#lang syndicate
|
||||
#lang syndicate/core
|
||||
|
||||
(require syndicate/protocol/advertise)
|
||||
(require/activate "../drivers/tcp.rkt")
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#lang syndicate
|
||||
#lang syndicate/core
|
||||
|
||||
(require (only-in racket/port read-line-evt))
|
||||
(require/activate "../drivers/timer.rkt")
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#lang syndicate
|
||||
#lang syndicate/core
|
||||
;; Check that nested-world assertions are properly retracted.
|
||||
;; Should print two "Got SCN:" patches - one adding, and one removing (observe 'die).
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#lang syndicate
|
||||
#lang syndicate/core
|
||||
;; Analogous to nc-incremental-meta-drop.rkt in the Redex model.
|
||||
;; Demonstrates (hopefully) correct processing of meta-interests when dropping a patch.
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#lang syndicate
|
||||
#lang syndicate/core
|
||||
;; Test case for a historical bug in Syndicate.
|
||||
;;
|
||||
;; When the bug existed, this program received four SCN events in
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#lang syndicate
|
||||
#lang syndicate/core
|
||||
;; The actor should receive a single event adding an (inbound 'x) assertion.
|
||||
|
||||
(require syndicate/pretty)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#lang syndicate
|
||||
#lang syndicate/core
|
||||
;; run-ground-vm is being modified to return the set of assertions
|
||||
;; remaining at the end of its execution. This example demonstrates a
|
||||
;; non-empty such set.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#lang syndicate
|
||||
#lang syndicate/core
|
||||
;; Demonstrates quit-dataspace.
|
||||
|
||||
(require (only-in racket/port read-bytes-line-evt))
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#lang syndicate
|
||||
#lang syndicate/core
|
||||
;; Analogous to nc-incremental-swap-int-and-claim.rkt in the Redex model.
|
||||
;; Demonstrates (hopefully) correct processing of feedback at interest switches.
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#lang syndicate
|
||||
#lang syndicate/core
|
||||
;; Demonstrate wildcard assertions.
|
||||
;; One actor asserts everything except inbound/outbound assertions (which break
|
||||
;; the ground VM). It therefore *subscribes* to everything too.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#lang syndicate
|
||||
#lang syndicate/core
|
||||
;; Demonstrate almost-wildcard assertions.
|
||||
;; One actor subscribes to everything except inbound assertions - and so initially sees itself.
|
||||
;; The other advertises everything except subscriptions and inbound/outbound assertions.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#lang syndicate
|
||||
#lang syndicate/core
|
||||
|
||||
(require racket/set)
|
||||
(require "../trie.rkt")
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#lang syndicate
|
||||
#lang syndicate/core
|
||||
|
||||
(require racket/set)
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#lang syndicate
|
||||
#lang syndicate/core
|
||||
|
||||
(struct echo-req (body) #:prefab)
|
||||
(struct echo-resp (body) #:prefab)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#lang syndicate
|
||||
#lang syndicate/core
|
||||
|
||||
(require syndicate/protocol/advertise)
|
||||
(require/activate "../drivers/tcp.rkt")
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#lang syndicate
|
||||
#lang syndicate/core
|
||||
|
||||
(require racket/set)
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#lang syndicate
|
||||
#lang syndicate/core
|
||||
|
||||
(require/activate syndicate/drivers/udp)
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#lang syndicate
|
||||
#lang syndicate/core
|
||||
|
||||
(require syndicate/protocol/advertise)
|
||||
(require/activate "../drivers/websocket.rkt")
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#lang syndicate
|
||||
#lang syndicate/core
|
||||
|
||||
(require syndicate/protocol/advertise)
|
||||
(require/activate "../drivers/websocket.rkt")
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
(module reader syntax/module-reader
|
||||
syndicate/monolithic)
|
||||
|
||||
(require (except-in "lang.rkt"
|
||||
(require (except-in "core-lang.rkt"
|
||||
event?
|
||||
action?
|
||||
clean-transition
|
||||
|
@ -11,6 +11,6 @@
|
|||
actor/stateless))
|
||||
(require "monolithic/scn.rkt")
|
||||
(require "monolithic/core.rkt")
|
||||
(provide (all-from-out "lang.rkt")
|
||||
(provide (all-from-out "core-lang.rkt")
|
||||
(all-from-out "monolithic/scn.rkt")
|
||||
(all-from-out "monolithic/core.rkt"))
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
(provide profile-dataspace!
|
||||
profile-lambda)
|
||||
|
||||
(require syndicate/lang)
|
||||
(require syndicate/core-lang)
|
||||
(require profile)
|
||||
|
||||
(define profile-lambda
|
||||
|
|
Loading…
Reference in New Issue