I want to play with interpreted code on my iPhone without jailbreaking. I'm familiar with tryruby for ruby. Are there any other online interpreters out there that I can use.

  • belongs on StackOveflow, doesn't it? edit: ah, ok, it's about online interpreters... – Oliver Giesen Jul 8 '10 at 0:14
  • I've made this a community wiki because multiple answers are applicable. – DonnyD Jul 8 '10 at 2:46

12 Answers 12


Taken from Is there a web application that can replace an IDE like Eclipse?

You will want to check out http://ideone.com/ It is a mini IDE and debugging tool mainly used as a clipboard.

Example The following counts from 1 to 10

class ForDemo {
     public static void main(String[] args){
          for(int i=1; i<11; i++){
               System.out.println("Count is: " + i)

Selecting Java in the side bar of ideone will give us

Main.java:4: ';' expected
               System.out.println("Count is: " + i)
1 error

Then fixing that gives us the following shortlink http://ideone.com/gGqZy which you can share

I posted the output below

# 1:   hide   edit   3 seconds ago
result: success      time: 0.03s    memory: 213312 kB     returned value: 0

input: no
Count is: 1
Count is: 2
Count is: 3
Count is: 4
Count is: 5
Count is: 6
Count is: 7
Count is: 8
Count is: 9
Count is: 10
  • Very useful answer indeed. I missed webapps.stackexchange.com/questions/532/… despite reviewing most of the questions. I think I would let this question stand though, because I want a sense of other interpreted options that might be out there and some perhaps even more adaptable to the small browser. Thank you very much. – DonnyD Jul 8 '10 at 1:23
  • I picked this answer, because although ideone's interface was a bit awkward on the iPhone, it was still workable (with a lot of pinch and spread) and nothing else comes close in language choice. I wish I could select all these answers. My iPhone will be a friendlier place. – DonnyD Jul 8 '10 at 1:51

For html / css / javascript, try http://jsfiddle.net/ . It also acts as a pastebin allowing url sharing and editing.

  • Nice! A web-app for web-apps. – DonnyD Jul 8 '10 at 0:38

tryhaskell.org if you are interested in functional programming

  • I can't believe I missed this. I loo..oove Haskell. Thanks. – DonnyD Jul 8 '10 at 1:36

Why go to multiple sites? Just head on over to the Lord of the REPLs!

Currently it supports

  • beanshell
  • clojure
  • groovy
  • javascript
  • python
  • ruby
  • scala
  • scheme
  • I love the minimalist command line interface. Would be my fave if it had ghci. – DonnyD Jul 8 '10 at 18:25

If you want to try Javascript/HTML, w3schools.com has a "Tryit Editor". It's used for tutorial purpose, but you can code and test anything with it online.

Link : http://w3schools.com/js/tryit.asp?filename=tryjs_text

  • This has a nice, simple interface. Very usable. Thanks. – DonnyD Jul 8 '10 at 0:28

codepad is an online interpreter that supports several different languages. It also generates a URL for your snippets, so you can share them and collaborate.

  • Good, tried it, very nice! – DonnyD Jul 8 '10 at 0:30
  • Slightly superior to ideone in its simplicity of interface and similar in its language diversity. – DonnyD Jul 8 '10 at 1:45

The Groovy Web Console is a great way to try out Groovy code. It uses the CodeMirror in-browser code editor and allows you to publish/share scripts if you wish.

  • Thanks. This isn't in my repertoire, but I'll take a look. – DonnyD Jul 8 '10 at 2:25

Ideon is a great answer, but you can also find a large number of repls here http://joel.franusic.com/Online-REPs-and-REPLs

  • 1
    This is a great reference resource! – DonnyD Jul 8 '10 at 18:26

There's http://kodingen.com . It may be too complicated to use on a small iPhone screen though.

  • Interesting. This will take some exploring. – DonnyD Jul 8 '10 at 18:22

Skulpt is an entirely in-browser implementation of Python. Not complete, but handy.

  • Again, the simplicity of the interface is a plus. Thank you. – DonnyD Jul 8 '10 at 0:29
  • That it's all implemented in javascript in the browser is a big plus. – DonnyD Jul 8 '10 at 1:27

Simply Scala for Scala programming language.


Forth here is.

  • (-; (-: (-; OK. – DonnyD Jul 8 '10 at 18:10

Not the answer you're looking for? Browse other questions tagged or ask your own question.