Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 828 Bytes

README.md

File metadata and controls

31 lines (19 loc) · 828 Bytes

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 [email protected]: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.