mame / emruby Goto Github PK
View Code? Open in Web Editor NEWemscripten'ed MRI
emscripten'ed MRI
I see this error when attempting to follow the instructions in the README:
io.c:10081:12: error: expected ')'
"(%"PRI_OFFT_PREFIX"d, "
^
.ext/include/wasm32-emscripten/ruby/config.h:134:25: note: expanded from macro 'PRI_OFFT_PREFIX'
#define PRI_OFFT_PREFIX PRI_LL_PREFIX
^
io.c:10080:28: note: to match this '('
VALUE message = rb_sprintf("%"PRIsVALUE" "
^
1 error generated.
I've included the full output from running sh build.sh
in the following gist:
https://gist.github.com/jez/3ff0a869cba838d6a6364b084f307e92#file-error-txt-L6-L15
If this error looks expected to you, I'd love help with possible workarounds. Otherwise I'll keep looking for a solution on my own. Thanks for putting this repo together!
Hey there mame,
This is mostly a suggestion, but if you consider it useful then perhaps the main
README could mention this.
You provide a link to a demo here:
https://mame.github.io/emruby/
This works too.
(One thing confuses me: the "downloading data" part. But this is an aside, I just
was not expecting that display after clicking on "run".)
If I can see it correctly then we kind of have irb there for the www, yes? A bit
similar I suppose how _why had this a long time ago (before BasicObject
was added to core; I think it was added after _why proposed it, matz agreed.
At the least I think this was the case, and _why had some projects back then,
one of which was that irb-thingy in the browser.)
My idea or use case now would be that, for instance, someone using rails
or sinatra, may want to embed a little irb like this too, for use on the www.
Ideally with some customization in place (e. g. how much control; would
be pretty cool if customization would be possible to even allow people to
remote-control their computer at home via this! :D Though the default of
course to be restricted in permission.)
Anyway - the TL;DR of this here is mostly to think whether emruby could
be used for people to embed irb on the www on a homepage. For instance,
thinking of a sinatra application, I could see to simply and easily add a
route called "/irb" and let people work on irb there. Or perhaps even
add an interactive tutorial too.
I don't know whether that includes your concerns of a valid use case for
emruby or whether emruby is just meant as a demo-application and a
"proof of concept". Which is fine, but I am more wondering for "irb
on the www for everyone". Including hobbyists. :D
Please feel free to close/ignore the issue request here at your own choosing,
this is not meant to add more workload to your schedule but more as a
"possibly useful idea".
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.