Core library of monocoque-ruby.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
demo
include
src-js
src
tools/mruby-patcher
vendor
.clang-format
.gitignore
.gitmodules
.travis.yml
CMakeLists.txt
Dockerfile
MITL
Makefile
README.md
wasm-toolchain.cmake

README.md

Monocoque Ruby (mqrb)

Build Status MIT License

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.

Build

make wasm-production

Docker

  1. docker build --no-cache -t emscripten:mqrb .
  2. docker run -dit --name emscripten -v $(pwd):/src emscripten:mqrb bash
  3. docker exec -it -e MRUBY_CONFIG="../../tools/mruby-patcher/build_config.wasm.rb" emscripten make wasm-production

License

MIT License.