Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xxuejie/mruby-web-irb
mruby interpreter running in a browser
https://github.com/xxuejie/mruby-web-irb
Last synced: 6 days ago
JSON representation
mruby interpreter running in a browser
- Host: GitHub
- URL: https://github.com/xxuejie/mruby-web-irb
- Owner: xxuejie
- Created: 2012-12-18T20:28:23.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2014-08-03T08:44:12.000Z (over 10 years ago)
- Last Synced: 2024-10-28T05:12:52.274Z (17 days ago)
- Language: JavaScript
- Homepage: http://qiezi.me/projects/mruby-web-irb/mruby.html
- Size: 1.19 MB
- Stars: 82
- Watchers: 8
- Forks: 25
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This project runs a mruby interpreter in a browser. It depends on [webruby](https://github.com/xxuejie/webruby).
A live demo of this project is at [http://qiezi.me/projects/mruby-web-irb/mruby.html](http://qiezi.me/projects/mruby-web-irb/mruby.html). Feel free to try it!
# How to build an interpreter
1. Build [webruby](https://github.com/xxuejie/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](https://github.com/xxuejie/webruby/blob/master/rakelib/functions.rb#L3).
2. Copy the generated `webruby.js` file to current folder(and override existing file).
3. Now you are good to go!