File: boot-repl.scm

package info (click to toggle)
guile-hoot 0.7.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,184 kB
  • sloc: lisp: 46,147; javascript: 1,351; makefile: 318; sh: 12
file content (7 lines) | stat: -rw-r--r-- 213 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
(use-modules (hoot reflect)
             (wasm parse))

(define wasm (call-with-input-file "repl.wasm" parse-wasm))
(define module (hoot-instantiate wasm))
(define proc (hoot-load module))
(hoot-apply-async proc)