syndicate-rkt/syndicate/main.rkt

27 lines
758 B
Racket
Raw Normal View History

2021-06-04 13:56:03 +00:00
;;; SPDX-License-Identifier: LGPL-3.0-or-later
2021-06-04 14:20:14 +00:00
;;; SPDX-FileCopyrightText: Copyright © 2021 Tony Garnock-Jones <tonyg@leastfixedpoint.com>
2018-04-29 11:22:12 +00:00
#lang racket/base
2021-06-02 13:00:25 +00:00
(provide (all-from-out "actor.rkt")
(all-from-out "syntax.rkt")
(all-from-out preserves)
assertion-struct
message-struct
:pattern
:template)
2021-05-27 09:28:10 +00:00
2021-06-02 13:00:25 +00:00
(require (except-in "actor.rkt" actor-system))
(require "syntax.rkt")
(require preserves)
;; Thin veneers over `struct` for declaring intent.
(define-syntax-rule (assertion-struct item ...) (struct item ... #:prefab))
(define-syntax-rule (message-struct item ...) (struct item ... #:prefab))
(require (only-in "pattern.rkt" :pattern :template))
2018-04-29 11:22:12 +00:00
(module reader syntax/module-reader syndicate/lang)