Skip to content

Playing around with WASM, trying to write a Ruby REPL 100% in browser

Notifications You must be signed in to change notification settings

d12/wasm_ruby_repl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/

About

Playing around with WASM, trying to write a Ruby REPL 100% in browser

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published