Login
7 branches 0 tags
Ben (X13/Arch) Fixed GH CI 223c184 3 years ago 919 Commits
nujel / binlib / wasm.nuj
;;; Nujel - Copyright (C) 2020-2021 - Benjamin Vincent Schulenburg
;;; This project uses the MIT license, a copy should be included under /LICENSE
;;;
;;; Contains some routines used in the Emscripten/WASM build

[defn repl/wasm [line]
      "Evaluate LINE in the wasm context"
      [string/write [try print/error
                         [eval-in root-closure [cons do [read line]]]]]]

[defn init/wasm [args]
      [repl/welcome]]