kateinoigakukun / irb.wasm

IRB on browser powered by WebAssembly

Home Page:https://irb-wasm.vercel.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

irb.wasm

IRB on browser powered by WebAssembly. You can try irb.wasm on your browser. It works on CRuby ported to WebAssembly.

Demo: https://irb-wasm.vercel.app/

irb.wasm.-.Google.Chrome.2022-11-30.15-25-59.mp4

Development

$ rake static/irb.wasm   # You can omit the argument as default task makes static/irb.wasm
$ npm install
$ rake parcel

Clean build

If you need to re-build Ruby itself (when you made a change to Ruby), clean rubies and build directories by rake deep_clean, then re-execute rake static/irb.wasm

If you just made a change to fake-gems, you only need to remove static/irb.wasm by rake clean and re-execute rake static/irb.wasm to avoid rebuilding everything.

About

IRB on browser powered by WebAssembly

https://irb-wasm.vercel.app/

License:MIT License


Languages

Language:TypeScript 66.5%Language:Ruby 20.9%Language:JavaScript 6.1%Language:HTML 3.0%Language:CSS 2.9%Language:Shell 0.6%