https://github.com/d12/wasm_ruby_repl
Playing around with WASM, trying to write a Ruby REPL 100% in browser
https://github.com/d12/wasm_ruby_repl
Last synced: 11 months ago
JSON representation
Playing around with WASM, trying to write a Ruby REPL 100% in browser
- Host: GitHub
- URL: https://github.com/d12/wasm_ruby_repl
- Owner: d12
- Created: 2019-10-14T19:15:05.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-10-26T21:04:11.000Z (over 6 years ago)
- Last Synced: 2025-06-03T02:09:48.219Z (about 1 year ago)
- Language: JavaScript
- Size: 398 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## WASM Ruby REPL
Trying to write a Ruby REPL w/ WebAssembly. Mostly just playing around.
Current state: I can pass in arbitrary Ruby code from JS to a Ruby VM and execute it without having to re-compile the c++/ruby wasm.
Next step: A UI?
## Compiling
`rake build` Will use source in src/ to generate a working web application in build/. Because of CORS, you have to serve the directory over a web server instead of just opening the HTML file directly in Chrome.
## Tests
heh
## Dependencies
See https://webassembly.org/getting-started/developers-guide/