views:

346

answers:

6

I'm just recalling the days when Radio Shack used to sell pocket computers. (Many moons ago, w/ only a few K of memory.) They had the ability to write small programs on Pocket computer. Maybe it's just nostalgic, but I alway thought that was handy. (Through the fog of my memory.) Is there any capability like that for an Iphone?

Edit: I can kinda understand not allowing a like a GameBoy emulator on the App-store, it's kinda like saying your ok with people loading "ROMs" and could get them in trouble. When you start profitting from an Emulator the license holders get pissy, just think about "Bleem" and Sony. Sony buried those guys. I suppose Javascript is better than nothing. What about Java in a sandbox? Or if they want something they aren't afraid is going to cannibalise there market, a BASIC interpreter.

+4  A: 

I don't believe that you are allowed to in the terms of service for the App store. Isn't this why mono programs have to be staticly compiled if they are going up to the App store.

Andrew Cox
Apple will deny any application capable of running arbitrary code. This includes emulators and virtual machines for interpreted languages.
Corey D
@Corey D: This may be at least one case where Apple blows goats. (I generally like their computer equipment and OS X, although I was disappointed to see them move to Intel at the same time IBM was coming out with the Cell BBE. OS X on a CELL would have been wicked cool.)
NoMoreZealots
+2  A: 

Python is possible:

http://mail.python.org/pipermail/python-list/2008-November/686098.html

Anon
It wasn't clear in the link weather this required a hacked Iphone or not. But if Apple allows it, it definitely has potential. Just need a slick GUI front end.
NoMoreZealots
Alas, it apparently requires jailbreaking (I am not an iPhone user, but would not buy one if I had not decided I was OK with jailbreaking it ahead of time - just on principle.) A related post: http://www.thelinuxblog.com/reasons-why-you-should-jailbreak-your-iphone/
Anon
Jailbreaking my phone made it much less responsive. I decided to revert back to the official release for the performance alone.
lillq
+3  A: 

If you are looking to go off the beaten path, James Long's blog details how to run Gambit Scheme code on the iPhone. Load the application once and then load code changes progressively as needed.

In a following blog post, he details how to debug your applications remotely with an REPL. Very cool stuff. Between the simplicity of Scheme and the existing work he's done on his blog, a lot of the work/difficulty involved with developing in a "non-standard" way on the iPhone is taken care of for you. It's worth a shot!

Kyle Walsh
+1  A: 

The only thing remotely close to that (without Jailbreaking) is Javascript/HTML in Mobile Safari.

nolim1t
And with jailbreaking, a lot lot more is possible :)
nos
I suppose Javascript is better than nothing! I'm guessing no "IDE" exist then.
NoMoreZealots
+1  A: 

While "on" your iphone is relative www.tilestack.com is a web based development environment that can produce webapps.

+1  A: 

Terminal.app can be compiled for limited distribution (w/o jailbreaking). /bin/sh is a valid programming language. QED.

Joshua