;; lib/hyperscript/plugins/worker.sx โ€” Worker plugin (stub) ;; ;; Phase 1 of the worker plugin: the registration formerly inlined in ;; lib/hyperscript/parser.sx (E39 stub) moves here. Behaviour is ;; identical โ€” `worker MyWorker ...` raises a helpful error directing ;; users to the full plugin (not yet implemented). ;; ;; Phase 2 (future) replaces this stub with parse-worker-feat, a ;; compiler entry, hs-worker-define!, and the postMessage-based ;; method dispatch documented in plans/designs/hs-plugin-system.md ยง4a. (define hs-worker-loaded? true) (hs-register-feature! "worker" (fn (ctx) (error "worker plugin is not installed โ€” see https://hyperscript.org/features/worker")))