2 Running js-vm
Consumes the given program, translates it so it can run on the browser,
and brings up the default browser.
At the moment, js-vm currently supports programs written in the
(planet dyoo/js-vm:1:6/lang/wescheme) and
(planet dyoo/js-vm:1:6/lang/base) languages; further development
on js-vm will work toward supporting modules written in full
Racket. require should work as long as the required modules,
too, are in the supported languages.
|
input-file : path-string? |
output-zip-file : path-string? |
Consumes the given program, translates it so it can run on the browser,
and writes out a zip archive to the given path. If the output file already exists, overwrites it. This zip file can be unpacked and served on any standard
web server.