Previous: Reflection, Up: Compiling to Wasm [Contents][Index]
The (hoot repl)
module provides some REPL meta commands to make
it easy to compile Scheme programs and run them in Hoot’s Wasm
interpreter.
Compile exp and return a Wasm module.
opts may specify the keyword arguments to pass to the
compile
procedure (see Invoking the compiler).
Compile the source code in file and return a Wasm module.
opts may specify the keyword arguments to pass to the
compile-file
procedure (see Invoking the compiler).
Compile and run exp and return the results.
Compile and run the source code in file and return the results.