Where can I find an online interactive console for programming language or api?
-
12There is a nice list of such tools by [Joel Franusic](http://joel.franusic.com/w/page/26128430/Online-REPs-and-REPLs) – kuszi Jan 17 '11 at 22:38
-
@kuszi thanks for the link. Your post is definitely the answer – OnesimusUnbound May 27 '11 at 04:27
15 Answers

- 98,437
- 31
- 224
- 236
-
1That online Python interpreter is basically worthless for learning Python. You can't define your own functions or classes, so it's not going to be much use to anyone. – Eli Courtwright Sep 08 '08 at 03:38
-
repl.it supports multiple languages including Python, Ruby, Lua, Scheme, CoffeeScript, QBasic, Forth,...the list goes on.

- 187,153
- 97
- 222
- 204
-
That Ruby interpreter is off for some reason. `a = Time.new` produces an error. It does say Beta on the link, but wow. – jcollum Jul 18 '12 at 21:18
Google has an online interactive shell for Python.

- 187,153
- 97
- 222
- 204
-
this shell has some major bugs. I couldn't manipulate an object property inside an object method – andho Jun 17 '11 at 16:06
http://www.codepad.org/? It has support for a few languages, including perl, scheme, c/c++, python, lua and more.

- 1
- 1

- 18,986
- 17
- 92
- 114
-
Why am I getting downvoted here? marxidad just duplicated this information – Nick Retallack Oct 03 '08 at 20:22
For Java you could try http://www.javarepl.com (or console version at https://github.com/albertlatacz/java-repl)

- 33
- 1
- 6
http://repl.it/ is a Python in a browser without Java or Silverlight (as well as dozen of other languages compiled to JavaScript).

- 19,847
- 9
- 124
- 140
Google Chrome Python shell https://chrome.google.com/extensions/detail/gdiimmpmdoofmahingpgabiikimjgcia

- 28,214
- 2
- 27
- 29
You can play around with jsScheme for Scheme, but it's a toy and shouldn't replace a console-based interpreter.

- 77,653
- 43
- 148
- 164
You can try this http://doc.pyschools.com/console. It is actually an editor, and is good for testing your python code online when you do not have it installed on your computer.

- 101
- 1
- 1
python web console, and I was able to run the code below
# Script text here
import itertools
g = itertools.chain("AB", range(2))
print g.next()
print g.next()
print g.next()
print g.next()

- 2,886
- 3
- 30
- 40
http://lotrepls.appspot.com/ is a console that works reasonably well for all these scripting languages:
- python
- ruby
- groovy
- beanshell
- clojure
- javascript
- scala
- scheme
Just hit CTRL+SPACE to switch languages or use the metacommand '/switch', for example '/switch clojure' to start coding in clojure.

- 750
- 8
- 11
Firebug Lite for Javascript. And, Rainbow 9 was one of the first examples of online REPLs.

- 225
- 3
- 8