- Scheme 80.6%
- JavaScript 11.3%
- CSS 4.9%
- HTML 2.3%
- Makefile 0.9%
| .gitignore | Update for Hoot 0.6.1. | |
| COPYING | Initial commit. | |
| index.html | Update to Hoot 0.5.0; use (hoot eval). | |
| Makefile | Update for Hoot 0.8.0. | |
| manifest.scm | Update for Hoot 0.7.0. | |
| README.md | Update to Hoot 0.5.0; use (hoot eval). | |
| repl.css | Update for Hoot 0.8.0. | |
| repl.js | Remove some debug prints. | |
| repl.scm | Update for Hoot 0.8.0. | |
Guile Hoot Metacircular REPL demo
This repository includes a demo of a Scheme interpreter written in Scheme running in the browser using Guile Hoot.
How to run the demo
This is a bleeding edge demo that requires a lot of very fresh software. GNU Guile built from the main branch, Guile Hoot 0.5.0 or later, and a recent browser such as Chrome 119+ or Firefox 121+.
You need to get the browser on your own, but for getting a working Guile and Hoot we have provided a Guix manifest file that can be used to setup the environment. Once Guix is installed, just run:
guix shell -m manifest.scm
Once your environment is up, the examples can be built like so:
make
Then launch a simple web server:
make serve
Once the web server is up, visit http://localhost:8088 and click on a link to the demo you'd like to check out.
License
All code in this repository is licensed under Apache 2.0, expect for
web-server.scm which is borrowed from
Haunt and is under the
GPLv3 license.