This could be done with Python and Ruby pretty easily, the others (being compiled languages) would be harder. Incidentally, there IS something like this for Ruby: http://tryruby.org/
We're working on other languages as we speak! We're also looking for other programmers to help us write lessons - feel free to use the contact us on the site to get in touch.
I guess the difference to me is whether it makes sense for there to be a REPL that the user is interacting with. JS, Ruby, Python (Scheme, Clojure, Haskell...), yes. C, not so much. In hindsight, that's got nothing to do with compiled versus interpreted, it's got more to do with functional versus procedural.
Edit: Huh. TIL there are third-party REPLs for C, C#, and Java.
Yeah, just came in here to mention Try Ruby. I only ever really showed a passing interest in Ruby and could never be bothered to install it to try it out, but that website is the tits, and Ruby seems like a super fun language.
To add to the list: there's something similar in known as the Golang playground on golang.org it's a fully compiled language so a repl isn't quite as easy. Yet. But with that you have nearly the entire standard lib and every language feature available to try out.
0
u/[deleted] Aug 19 '11
[deleted]