35 karma · joined Jul 29, 2011 (15y ago) · 14 submissions
comment 15y ago · link · parent
comment 15y ago · link · parent
comment 15y ago · link · parent
comment 15y ago · link · parent
* The ^W is fixable, but I'm not sure how I personally feel about hijacking fundamental browser shortcuts. We'll look into it though.
* Regarding the environment, in general, multi-threading and multi-processing (and anything that depends on them) are not supported, since Emscripten translates the code to JS rather than emulating a machine.
* The Emscripten virtual filesystem has a simple single-user permission model and the libc functions for accessing/modifying the permissions are supported. So technically you could get the permissions through os.access. Not as convenient as ls, of course, but doable.
comment 15y ago · link · parent
comment 15y ago · link · parent
comment 15y ago · link · parent
comment 15y ago · link · parent
This project grew from @amasad and me wanting a quick way to try out little snippets of code while learning a new language or when away from our work machines.
We opted to have all the execution client-side to provide a smooth experience where you don't have to wait for the server to respond to every command. Technically you don't even need an internet connection once it's cached. You can also save your REPL session and resume from another machine, or share it with other people. We have beta support for mobile devices, so you can REPL from your Android or iPhone, though Ruby and Python are still not supported on iOS.
The code is open sourced under the MIT license and available from GitHub (https://github.com/replit).
All feedback greatly appreciated!
13.
Show HN: repl.it — A client-side web REPL for 15+ languages(repl.it ↗)
27 points · by max99x · 15y ago · 2 comments
comment 15y ago · link · parent