Login
7 branches 0 tags
Benjamin Vincent Schulenburg Fixed custom comparator functions for [list/sort] 617b3cd 3 years ago 892 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]]