Monocoque Ruby (mqrb)
Summary
Monocoque-Ruby(mqrb) is quick and easy executing Ruby code that runs on the WebBrowser.
(This project is still a work in progress.)
More
The final aim of mqrb is a skeleton is generated with one command and try ruby on the webbrowzer.
How to use
gem install mqrb
mqrb create-app myapp --runtime=mqrb-with-compiler
How to build
Native Build
Require tools
-
Ruby (CRuby)
-
CMake
-
Clang
-
Emscripten
- This project use
emcc
command. For details, please refer to the official website.
- This project use
Build
make wasm-production
Docker
docker build --no-cache -t emscripten:mqrb .
docker run -dit --name emscripten -v $(pwd):/src emscripten:mqrb bash
docker exec -it -e MRUBY_CONFIG="../../tools/mruby-patcher/build_config.wasm.rb" emscripten make wasm-production