Simple example of using Chicken Scheme to generate HTML and JS, using the html-tags and spock eggs. This example is based on the MDN canvas tutorial.
You will need:
- Chicken Scheme
- html-tags:
chicken-install html-tags - spock:
chicken-install spock - Make
Run make to generate the HTML and JS files, then open "index.html" in a web browser.
Optionally, you can use Guard to automatically generate the HTML/JS when the Scheme files change. gem install guard then run guard inside the source directory.