/scheme-on-the-browser

A Scheme repl on the browser

Primary LanguageC++

scheme-on-the-browser

A Scheme repl on the browser.

image taken from https://en.wikipedia.org/wiki/Machine_Head_(album)

Getting started

Clone the repo:

$ git clone git@github.com:edwardkenfox/scheme-on-the-browser.git

Open the HTML file:

$ cd scheme-on-the-browser
$ open build/index.html

And you'll see a prompt window in the page which works as a scheme repl. The output is printed in the browser console, so make sure to have the devtools open.

Demo

https://edwardkenfox.com/playground/scheme-on-the-browser/

Acknowledgements

As also noted in src/scheme.cpp, the source code of the scheme interpreter was taken from https://gist.github.com/ofan/721464 and had been slightly modified for this project.