syndicate-rkt/syndicate/ground.rkt

10 lines
236 B
Racket
Raw Normal View History

2018-04-29 11:22:12 +00:00
#lang racket/base
(provide run-ground)
(require "dataspace.rkt")
(define (run-ground boot-proc)
(define ds (make-dataspace (lambda () (schedule-script! (current-actor) boot-proc))))
(let loop () (when (run-scripts! ds) (loop))))