In this web content, the author discusses the use of read-eval-print-loop (REPL) in programming language websites, particularly with the use of WebAssembly (Wasm). They introduce Guile Scheme and Guile Hoot, a Scheme-to-Wasm compiler, and explain the challenges of implementing a fully-featured Scheme REPL on the web. The author then describes the implementation of a simple Scheme interpreter in Scheme itself, following the concept of a “metacircular evaluator” from the book Structure and Interpretation of Computer Programs. They provide code examples and explain the evaluation process. The author concludes by discussing the future plans for the interpreter and inviting readers to participate in further development.
https://spritely.institute/news/scheme-in-scheme-on-wasm-in-the-browser.html