BiwaScheme is a Scheme interpreter written in JavaScript.
Works with web browsers and Node.js.
see http://www.biwascheme.org/
- http://www.biwascheme.org/repos/lib/biwascheme.js (release version)
Just load biwascheme.js and write Scheme code.
<!DOCTYPE html>
<html>
<body>
<div id="bs-console"></div>
<script src="biwascheme.js">
(display "hello, world!")
</script>
</body>
</html>
-
$ npm install optparse
-
create a file a.scm:
(display "Hello, world!") (newline)
-
$ node bin/biwas a.scm
-
$ npm install biwascheme
-
create a file a.scm:
(display "Hello, world!") (newline)
-
create a file server.js:
var BiwaScheme = require("biwascheme").BiwaScheme; BiwaScheme.run("a.scm");
-
$ node server.js
- lib/biwascheme.js : The latest release version, uncompressed
- lib/biwascheme-min.js : The latest release version, compressed
- demo/
- Demos
- src/
- system/
- Source code of the interpreter
- library/
- Built-in library functions
- system/
- test/
- Unit tests
- tuplespace/
- (experimental) TupleSpace implemented in Scheme
- website/
- HTMLs and CSS of www.biwascheme.org
Make compiles src/*.js into lib/biwascheme.js.
$ make
Prerequisites:
- make
- sed
- Java (to run YUI Compressor)
Repository: https://github.com/yhara/biwascheme
- Edit History.txt
- Edit VERSION
- $ make -B
- Commit generated files
- $ git tag x.y.z
- Push changes to github (with --tags)
- Update website ($ git pull)
MIT-LICENSE
-
Kent Dyvbig, Three implementation models for scheme
-
jsScheme
- http://alex.ability.ru/scheme.html (inavailable)
-
YUI Compressor (bin/yuicompressor-2.4.2.jar)
-
ExplorerCanvas (demo/excanvas.js)
https://github.com/yhara/biwascheme
Yutaka HARA (yhara) yutaka.hara.gmail.com