Question

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

Was it helpful?

Solution

@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.

OTHER TIPS

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

Skulpt is a Python implementation in JavaScript. Pretty cool.

_Why made one for Ruby

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

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

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

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.

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()

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

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

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top