Browse Source

Make #lang syndicate equivalent to #lang syndicate/actor. Fixes #17.

pr/32
Tony Garnock-Jones 4 years ago
parent
commit
b3a745dbcb
  1. 2
      examples/ircd/channel.rkt
  2. 2
      examples/ircd/config.rkt
  3. 2
      examples/ircd/main.rkt
  4. 2
      examples/ircd/protocol.rkt
  5. 2
      examples/ircd/session.rkt
  6. 2
      examples/netstack/incremental-highlevel/arp.rkt
  7. 2
      examples/netstack/incremental-highlevel/demo-config.rkt
  8. 2
      examples/netstack/incremental-highlevel/ethernet.rkt
  9. 2
      examples/netstack/incremental-highlevel/fetchurl.rkt
  10. 2
      examples/netstack/incremental-highlevel/ip.rkt
  11. 2
      examples/netstack/incremental-highlevel/main.rkt
  12. 2
      examples/netstack/incremental-highlevel/port-allocator.rkt
  13. 2
      examples/netstack/incremental-highlevel/tcp.rkt
  14. 2
      examples/netstack/incremental-highlevel/udp.rkt
  15. 2
      examples/operational-transformation/syndicate-multiserver.rkt
  16. 2
      examples/operational-transformation/syndicate-server.rkt
  17. 2
      examples/platformer/hll-main.rkt
  18. 2
      examples/webchat/server/account.rkt
  19. 2
      examples/webchat/server/api.rkt
  20. 2
      examples/webchat/server/config.rkt
  21. 2
      examples/webchat/server/contacts.rkt
  22. 2
      examples/webchat/server/conversation.rkt
  23. 2
      examples/webchat/server/duplicate.rkt
  24. 2
      examples/webchat/server/main.rkt
  25. 2
      examples/webchat/server/pages.rkt
  26. 2
      examples/webchat/server/qa.rkt
  27. 2
      examples/webchat/server/script-compiler.rkt
  28. 2
      examples/webchat/server/static-content.rkt
  29. 2
      examples/webchat/server/testdata.rkt
  30. 2
      examples/webchat/server/trust.rkt
  31. 2
      racket/syndicate-gl/examples/basic.rkt
  32. 2
      racket/syndicate-gl/examples/clock-face.rkt
  33. 2
      racket/syndicate-gl/examples/many.rkt
  34. 2
      racket/syndicate/big-bang/timestate.rkt
  35. 2
      racket/syndicate/broker/server.rkt
  36. 2
      racket/syndicate/drivers/config.rkt
  37. 2
      racket/syndicate/drivers/filesystem.rkt
  38. 2
      racket/syndicate/drivers/gui.rkt
  39. 2
      racket/syndicate/drivers/irc.rkt
  40. 2
      racket/syndicate/drivers/line-reader.rkt
  41. 2
      racket/syndicate/drivers/smtp.rkt
  42. 2
      racket/syndicate/drivers/timestate.rkt
  43. 2
      racket/syndicate/drivers/web.rkt
  44. 2
      racket/syndicate/examples/actor/bank-account.rkt
  45. 2
      racket/syndicate/examples/actor/big-bang.rkt
  46. 2
      racket/syndicate/examples/actor/box-and-client.rkt
  47. 2
      racket/syndicate/examples/actor/broadcast-messages.rkt
  48. 2
      racket/syndicate/examples/actor/chain.rkt
  49. 2
      racket/syndicate/examples/actor/chat-client.rkt
  50. 2
      racket/syndicate/examples/actor/chat-multiroom-topic-persist.rkt
  51. 2
      racket/syndicate/examples/actor/chat-multiroom-topic.rkt
  52. 2
      racket/syndicate/examples/actor/chat-multiroom.rkt
  53. 2
      racket/syndicate/examples/actor/chat-no-quit-world-no-nesting.rkt
  54. 2
      racket/syndicate/examples/actor/chat-no-quit-world.rkt
  55. 2
      racket/syndicate/examples/actor/chat-simplified-internals.rkt
  56. 2
      racket/syndicate/examples/actor/chat-simplified-internals2.rkt
  57. 2
      racket/syndicate/examples/actor/chat.rkt
  58. 2
      racket/syndicate/examples/actor/double-click.rkt
  59. 2
      racket/syndicate/examples/actor/echo.rkt
  60. 2
      racket/syndicate/examples/actor/example-action-after-suspension.rkt
  61. 2
      racket/syndicate/examples/actor/example-assertion-spike.rkt
  62. 2
      racket/syndicate/examples/actor/example-bug-query-scope.rkt
  63. 2
      racket/syndicate/examples/actor/example-bug-rising-edge-true.rkt
  64. 2
      racket/syndicate/examples/actor/example-during-criterion-snapshotting.rkt
  65. 2
      racket/syndicate/examples/actor/example-filesystem.rkt
  66. 2
      racket/syndicate/examples/actor/example-glitch.rkt
  67. 2
      racket/syndicate/examples/actor/example-multiple-suspension-resumption.rkt
  68. 2
      racket/syndicate/examples/actor/example-partial-retraction.rkt
  69. 2
      racket/syndicate/examples/actor/example-responsibility-transfer-1.rkt
  70. 2
      racket/syndicate/examples/actor/example-responsibility-transfer-2.rkt
  71. 2
      racket/syndicate/examples/actor/example-supervise.rkt
  72. 2
      racket/syndicate/examples/actor/example-synthetic-patch.rkt
  73. 2
      racket/syndicate/examples/actor/example-termination-scripts-1.rkt
  74. 2
      racket/syndicate/examples/actor/example-termination-scripts-2.rkt
  75. 2
      racket/syndicate/examples/actor/f-to-c.rkt
  76. 2
      racket/syndicate/examples/actor/f-to-c2.rkt
  77. 2
      racket/syndicate/examples/actor/fib-server.rkt
  78. 2
      racket/syndicate/examples/actor/file-system-during.rkt
  79. 2
      racket/syndicate/examples/actor/file-system-during2.rkt
  80. 2
      racket/syndicate/examples/actor/file-system-lll.rkt
  81. 2
      racket/syndicate/examples/actor/file-system-lll2.rkt
  82. 2
      racket/syndicate/examples/actor/file-system.rkt
  83. 2
      racket/syndicate/examples/actor/file-system2.rkt
  84. 2
      racket/syndicate/examples/actor/firewall-demo.rkt
  85. 2
      racket/syndicate/examples/actor/forward-chaining-mini.rkt
  86. 2
      racket/syndicate/examples/actor/fs-protocol.rkt
  87. 2
      racket/syndicate/examples/actor/fs-shell.rkt
  88. 2
      racket/syndicate/examples/actor/gui.rkt
  89. 2
      racket/syndicate/examples/actor/irc.rkt
  90. 2
      racket/syndicate/examples/actor/let-event.rkt
  91. 2
      racket/syndicate/examples/actor/mini-echo.rkt
  92. 2
      racket/syndicate/examples/actor/mutex.rkt
  93. 2
      racket/syndicate/examples/actor/parameters.rkt
  94. 2
      racket/syndicate/examples/actor/query-set.rkt
  95. 2
      racket/syndicate/examples/actor/queue-no-credit.rkt
  96. 2
      racket/syndicate/examples/actor/queue-no-credit2.rkt
  97. 2
      racket/syndicate/examples/actor/queue.rkt
  98. 2
      racket/syndicate/examples/actor/sandbox-os.rkt
  99. 2
      racket/syndicate/examples/actor/show-field-scope-enforcement1.rkt
  100. 2
      racket/syndicate/examples/actor/show-field-scope-enforcement4.rkt

2
examples/ircd/channel.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
(require "protocol.rkt")
(require "message.rkt")

2
examples/ircd/config.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
(require/activate syndicate/reload)
(require/activate syndicate/supervise)

2
examples/ircd/main.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
(require/activate syndicate/reload)

2
examples/ircd/protocol.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
(provide (struct-out ircd-listener)
(struct-out ircd-motd)

2
examples/ircd/session.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
(require racket/set)
(require racket/string)

2
examples/netstack/incremental-highlevel/arp.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
;; ARP protocol, http://tools.ietf.org/html/rfc826
;; Only does ARP-over-ethernet.

2
examples/netstack/incremental-highlevel/demo-config.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
;; Demonstration stack configuration for various hosts.
(require racket/match)

2
examples/netstack/incremental-highlevel/ethernet.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
;; Ethernet driver
(provide (struct-out ethernet-packet)

2
examples/netstack/incremental-highlevel/fetchurl.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
(require/activate syndicate/drivers/timer)
(require/activate "ethernet.rkt")

2
examples/netstack/incremental-highlevel/ip.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
(provide (struct-out ip-packet)
ip-address->hostname

2
examples/netstack/incremental-highlevel/main.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
(require syndicate/protocol/advertise)

2
examples/netstack/incremental-highlevel/port-allocator.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
;; UDP/TCP port allocator
(provide spawn-port-allocator

2
examples/netstack/incremental-highlevel/tcp.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
(provide (struct-out tcp-address)
(struct-out tcp-handle)

2
examples/netstack/incremental-highlevel/udp.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
(provide (struct-out udp-remote-address)
(struct-out udp-handle)

2
examples/operational-transformation/syndicate-multiserver.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
(require racket/file)
(require racket/serialize)

2
examples/operational-transformation/syndicate-server.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
(require racket/file)
(require racket/serialize)

2
examples/platformer/hll-main.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
(require 2htdp/image)
(require 2htdp/planetcute)

2
examples/webchat/server/account.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
(require racket/set)

2
examples/webchat/server/api.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
(require/activate syndicate/reload)
(require/activate syndicate/supervise)

2
examples/webchat/server/config.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
(require racket/cmdline)
(require racket/port)

2
examples/webchat/server/contacts.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
(require/activate syndicate/reload)
(require/activate syndicate/supervise)

2
examples/webchat/server/conversation.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
(require racket/port)
(require markdown)

2
examples/webchat/server/duplicate.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
(provide stop-when-duplicate)

2
examples/webchat/server/main.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
(require/activate syndicate/reload)

2
examples/webchat/server/pages.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
(require racket/dict)
(require racket/port)

2
examples/webchat/server/qa.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
(provide ask-question!)

2
examples/webchat/server/script-compiler.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
(require racket/file)
(require racket/port)

2
examples/webchat/server/static-content.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
(require racket/file)
(require racket/runtime-path)

2
examples/webchat/server/testdata.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
(require "protocol.rkt")

2
examples/webchat/server/trust.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
(require racket/set)

2
racket/syndicate-gl/examples/basic.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
(require racket/set)
(require 2htdp/image)

2
racket/syndicate-gl/examples/clock-face.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
;; Compare to "ezd" clock-face example from: J. F. Bartlett, “Don’t
;; Fidget with Widgets, Draw!,” Palo Alto, California, DEC WRL
;; Research Report 91/6, May 1991.

2
racket/syndicate-gl/examples/many.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
;; Multiple animated sprites.
;;
;; 2016-12-12 With the current implementations of (a) Syndicate's

2
racket/syndicate/big-bang/timestate.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
;; Big-bang specific timestate implementation with compatible protocol.
(provide (struct-out later-than)

2
racket/syndicate/broker/server.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
;; Generic relay for WebSockets/TCP/etc-based participation in a network.
(provide spawn-broker-server

2
racket/syndicate/drivers/config.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
;; Monitor configuration files.
(provide (struct-out config)

2
racket/syndicate/drivers/filesystem.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
;; Filesystem change monitor driver
(provide (struct-out file-content)

2
racket/syndicate/drivers/gui.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
;; Driver for Racket's GUI.
(require racket/class)

2
racket/syndicate/drivers/irc.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
;; Dreadfully simplified IRC client driver.
(provide (struct-out irc-connection)

2
racket/syndicate/drivers/line-reader.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
(provide (struct-out tcp-channel-line))

2
racket/syndicate/drivers/smtp.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
(provide (struct-out/defaults [make-smtp-account-config smtp-account-config])
(rename-out [smtp-account-config <smtp-account-config>])

2
racket/syndicate/drivers/timestate.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
(provide (struct-out later-than)
stop-when-timeout

2
racket/syndicate/drivers/web.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
;; More general web driver: supports normal HTTP as well as websockets.
(provide (struct-out web-virtual-host)

2
racket/syndicate/examples/actor/bank-account.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
;; Hello-worldish "bank account" example.
(struct account (balance) #:prefab)

2
racket/syndicate/examples/actor/big-bang.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
(require syndicate/big-bang)
(require racket/math)

2
racket/syndicate/examples/actor/box-and-client.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
;; Simple mutable box and count-to-infinity box client.
(struct set-box (new-value) #:transparent)

2
racket/syndicate/examples/actor/broadcast-messages.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
;; Demonstrate sending a message to multiple receivers.
(struct envelope (destination message) #:prefab)

2
racket/syndicate/examples/actor/chain.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
(require/activate syndicate/drivers/timestate)

2
racket/syndicate/examples/actor/chat-client.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
(require syndicate/protocol/advertise)
(require/activate syndicate/drivers/tcp)

2
racket/syndicate/examples/actor/chat-multiroom-topic-persist.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
;; Evolution of chat-multiroom-topic.rkt to support persistent room topics.
(require syndicate/protocol/advertise)

2
racket/syndicate/examples/actor/chat-multiroom-topic.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
;; Evolution of chat-multiroom.rkt to support room topics.
(require syndicate/protocol/advertise)

2
racket/syndicate/examples/actor/chat-multiroom.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
;; Evolution of chat-simplified-internals2.rkt to support multiple rooms.
;; Uses the approach of modifying the protocol to include a room name.

2
racket/syndicate/examples/actor/chat-no-quit-world-no-nesting.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
(require syndicate/protocol/advertise)
(require/activate syndicate/drivers/tcp)

2
racket/syndicate/examples/actor/chat-no-quit-world.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
(require syndicate/protocol/advertise)
(require/activate syndicate/drivers/tcp)

2
racket/syndicate/examples/actor/chat-simplified-internals.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
(require syndicate/protocol/advertise)
(require/activate syndicate/drivers/tcp)

2
racket/syndicate/examples/actor/chat-simplified-internals2.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
(require syndicate/protocol/advertise)
(require/activate syndicate/drivers/tcp)

2
racket/syndicate/examples/actor/chat.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
(require syndicate/protocol/advertise)
(require/activate syndicate/drivers/tcp)

2
racket/syndicate/examples/actor/double-click.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
;; Demonstrates debouncer-like functionality.
(require syndicate/big-bang)

2
racket/syndicate/examples/actor/echo.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
(require syndicate/protocol/advertise)
(require/activate syndicate/drivers/tcp)

2
racket/syndicate/examples/actor/example-action-after-suspension.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
;; Test case for a bug relating to use of parameters to accumulate
;; actions across react/suspend when an intermediate parameterization
;; for current-dataflow-subject-id has taken place.

2
racket/syndicate/examples/actor/example-assertion-spike.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
;;
;; Test case for a problem written up on 25 Oct 2016 in my research
;; journal.

2
racket/syndicate/examples/actor/example-bug-query-scope.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
;; Demonstrates a (fixed) bug in define/query-value scoping.
;;
;; Buggy output:

2
racket/syndicate/examples/actor/example-bug-rising-edge-true.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
;; Demonstrates a bug: rising-edge of a predicate that starts off true
;; yields a crash.
;;

2
racket/syndicate/examples/actor/example-during-criterion-snapshotting.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
;; Illustrates a (now fixed) bug where mutation altering a
;; subscription caused the `retracted` half of a during instance to be
;; lost.

2
racket/syndicate/examples/actor/example-filesystem.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
(require/activate syndicate/drivers/filesystem)
(require racket/file)

2
racket/syndicate/examples/actor/example-glitch.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
;; Demonstrate FRP-like "glitching"
;;
;; Based on an example from the FRP survey of Bainomugisha et al.

2
racket/syndicate/examples/actor/example-multiple-suspension-resumption.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
;; Shows that the checks enforcing single-use suspension-resumption are working.
(spawn #:name 'shouldnt-work

2
racket/syndicate/examples/actor/example-partial-retraction.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
;; Illustrates the response of asserted / retracted / during to
;; observation of assertions discarding some of their dimensions.

2
racket/syndicate/examples/actor/example-responsibility-transfer-1.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
;; Demonstrates glitch preservation in during/spawn.
;;
;; Previously, `spawn` was expanded in place into the new actor's

2
racket/syndicate/examples/actor/example-responsibility-transfer-2.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
;; Demonstrates responsibility transfer.
;;
;; Previously, `spawn` was expanded in place into the new actor's

2
racket/syndicate/examples/actor/example-supervise.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
;; Shows the difference between a supervised exit and a supervised crash.
(require/activate syndicate/supervise)

2
racket/syndicate/examples/actor/example-synthetic-patch.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
;; Illustrates a (now fixed) bug where creating a facet interested in something
;; already known didn't properly trigger the assertion-handler.
;;

2
racket/syndicate/examples/actor/example-termination-scripts-1.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
;; Demonstrate handling of facet termination.
;;
;; Prior to early November, 2016, only a *single* stop-when was able

2
racket/syndicate/examples/actor/example-termination-scripts-2.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
;; Demonstrate handling of facet termination.
(require racket/pretty)

2
racket/syndicate/examples/actor/f-to-c.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
;; After the Fahrenheit-to-Celsius converter example in "Fabrik - A
;; Visual Programming Environment", Ingalls, Wallace, Chow, Ludolph
;; and Doyle, OOPSLA 1988.

2
racket/syndicate/examples/actor/f-to-c2.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
;; After the Fahrenheit-to-Celsius converter example in "Fabrik - A
;; Visual Programming Environment", Ingalls, Wallace, Chow, Ludolph
;; and Doyle, OOPSLA 1988.

2
racket/syndicate/examples/actor/fib-server.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
(require syndicate/threaded)
(require/activate syndicate/drivers/timer)

2
racket/syndicate/examples/actor/file-system-during.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
;; Toy file system, based on the example in the ESOP2016 submission.
;; syndicate/actor implementation, using "during" instead of "on asserted/until retracted".

2
racket/syndicate/examples/actor/file-system-during2.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
;; Toy file system, based on the example in the ESOP2016 submission.
;; syndicate/actor implementation, using "during" instead of "on asserted/until retracted".

2
racket/syndicate/examples/actor/file-system-lll.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
;; Toy file system, based on the example in the ESOP2016 submission.
;; Low-level implementation.

2
racket/syndicate/examples/actor/file-system-lll2.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
;; Toy file system, based on the example in the ESOP2016 submission.
;; Low-level implementation, without subconversation.

2
racket/syndicate/examples/actor/file-system.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
;; Toy file system, based on the example in the ESOP2016 submission.
;; syndicate/actor implementation.

2
racket/syndicate/examples/actor/file-system2.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
;; Toy file system, based on the example in the ESOP2016 submission.
;; syndicate/actor implementation, without subconversation.

2
racket/syndicate/examples/actor/firewall-demo.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
(require syndicate/firewall)

2
racket/syndicate/examples/actor/forward-chaining-mini.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
;; Minimal syndicate/actor variation on examples/forward-chaining.rkt.
(spawn (assert `(parent john douglas)))

2
racket/syndicate/examples/actor/fs-protocol.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
;; File System Demo protocol
(provide (struct-out file)

2
racket/syndicate/examples/actor/fs-shell.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
;; Simple "shell" or REPL, used by the file-system demos.
(require (only-in racket/port read-bytes-line-evt))

2
racket/syndicate/examples/actor/gui.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
;; Small test program for the gui.rkt driver
(require/activate syndicate/drivers/gui)

2
racket/syndicate/examples/actor/irc.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
(require/activate syndicate/drivers/irc)

2
racket/syndicate/examples/actor/let-event.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
;; Demonstrate let-event.
;; Should print "Complete.".

2
racket/syndicate/examples/actor/mini-echo.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
(struct echo-req (body) #:prefab)
(struct echo-resp (body) #:prefab)

2
racket/syndicate/examples/actor/mutex.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
;; Counting-semaphore-like mutex, and dining philosophers.
(require racket/set)

2
racket/syndicate/examples/actor/parameters.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
;; Demonstrate use of parameters with actors.
;;
;; Per https://github.com/tonyg/syndicate/issues/10, "Parameters don't

2
racket/syndicate/examples/actor/query-set.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
(require racket/set)

2
racket/syndicate/examples/actor/queue-no-credit.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
;; A Queue with no flow control.
(require racket/set)

2
racket/syndicate/examples/actor/queue-no-credit2.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
;; A Queue with no flow control.
(require racket/set)

2
racket/syndicate/examples/actor/queue.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
;; A Queue with credit-based flow control.
(require racket/set)

2
racket/syndicate/examples/actor/sandbox-os.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
;; Explore use of sandboxes etc for being an "operating system"
(require racket/match)

2
racket/syndicate/examples/actor/show-field-scope-enforcement1.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
;; Demonstrates that fields may not be passed between actors.
(spawn #:name 'reading-actor

2
racket/syndicate/examples/actor/show-field-scope-enforcement4.rkt

@ -1,4 +1,4 @@
#lang syndicate/actor
#lang syndicate
;; Demonstrates that fields at actor scope are visible to facets.
(spawn* (field [x 123])

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save