mruby interpreter running in a browser
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
events.js
mruby.html
webruby.js

README.md

This project runs a mruby interpreter in a browser. It depends on webruby.

A live demo of this project is at http://qiezi.me/projects/mruby-web-irb/mruby.html. Feel free to try it!

How to build an interpreter

  1. Build webruby using any gem configuration. But remember to use loading mode 2.

    NOTE: If you do not know what is loading mode, feel free to ignore this since loading mode 2 is the default. However, a detailed description on loading mode is at here.

  2. Copy the generated webruby.js file to current folder(and override existing file).

  3. Now you are good to go!