33

Where can I find an online interactive console for programming language or api?

raam86
  • 6,785
  • 2
  • 31
  • 46
Nick Retallack
  • 18,986
  • 17
  • 92
  • 114

15 Answers15

8

@kuszi Put a great answer as a comment to the question, but I almost missed it because it was a comment rather than the answer.

This link goes to a huuuge list of REPs and REPLs for tons of languages.

A. Wilson
  • 8,534
  • 1
  • 26
  • 39
7
Mark Cidade
  • 98,437
  • 31
  • 224
  • 236
7

repl.it supports multiple languages including Python, Ruby, Lua, Scheme, CoffeeScript, QBasic, Forth,...the list goes on.

Ray
  • 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
5

Google has an online interactive shell for Python.

Ray
  • 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
5

Skulpt is a Python implementation in JavaScript. Pretty cool.

Nick Retallack
  • 18,986
  • 17
  • 92
  • 114
3

http://www.codepad.org/? It has support for a few languages, including perl, scheme, c/c++, python, lua and more.

Justan
  • 1
  • 1
3

_Why made one for Ruby

Nick Retallack
  • 18,986
  • 17
  • 92
  • 114
2

For Java you could try http://www.javarepl.com (or console version at https://github.com/albertlatacz/java-repl)

Albert Latacz
  • 33
  • 1
  • 6
1

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

anatoly techtonik
  • 19,847
  • 9
  • 124
  • 140
1

Google Chrome Python shell https://chrome.google.com/extensions/detail/gdiimmpmdoofmahingpgabiikimjgcia

Fuji
  • 28,214
  • 2
  • 27
  • 29
1

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

Kyle Cronin
  • 77,653
  • 43
  • 148
  • 164
1

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.

tkc
  • 101
  • 1
  • 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()
OnesimusUnbound
  • 2,886
  • 3
  • 30
  • 40
0

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.

Juande Carrion
  • 750
  • 8
  • 11
0

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

sid3k
  • 225
  • 3
  • 8