Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

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.

share|improve this question
    
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
add comment

closed as off-topic by Eight Days of Malaise, Jacob Jan Tuinstra, Al E., Alex, jonsca Dec 30 '13 at 14:00

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions seeking application recommendations are off-topic unless they detail what has already been tried and rejected. Describe your situation and the specific problem you're trying to solve." – Eight Days of Malaise, Jacob Jan Tuinstra, Al E., Alex, jonsca
If this question can be reworded to fit the rules in the help center, please edit the question.

12 Answers

up vote 8 down vote accepted

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
output:
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
share|improve this answer
    
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
add comment

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

share|improve this answer
    
This has a nice, simple interface. Very usable. Thanks. –  DonnyD Jul 8 '10 at 0:28
add comment

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.

share|improve this answer
    
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
add comment

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

share|improve this answer
    
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
add comment

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

share|improve this answer
    
Nice! A web-app for web-apps. –  DonnyD Jul 8 '10 at 0:38
add comment

tryhaskell.org if you are interested in functional programming

share|improve this answer
    
I can't believe I missed this. I loo..oove Haskell. Thanks. –  DonnyD Jul 8 '10 at 1:36
add comment

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.

share|improve this answer
    
Thanks. This isn't in my repertoire, but I'll take a look. –  DonnyD Jul 8 '10 at 2:25
add comment

Simply Scala for Scala programming language.

share|improve this answer
    
Thank you very much. –  DonnyD Jul 8 '10 at 18:27
add comment

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

share|improve this answer
1  
This is a great reference resource! –  DonnyD Jul 8 '10 at 18:26
add comment

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
share|improve this answer
    
I love the minimalist command line interface. Would be my fave if it had ghci. –  DonnyD Jul 8 '10 at 18:25
add comment

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

share|improve this answer
    
Interesting. This will take some exploring. –  DonnyD Jul 8 '10 at 18:22
add comment

Forth here is.

share|improve this answer
    
(-; (-: (-; OK. –  DonnyD Jul 8 '10 at 18:10
add comment

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