mruby-web-irb
mruby-web-irb copied to clipboard
mruby interpreter running in a browser
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
-
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.
-
Copy the generated
webruby.js
file to current folder(and override existing file). -
Now you are good to go!