views:

621

answers:

4

I'm trying to find examples of interpreted languages ported to the iPhone, with source code available to show how to embed it, without Jailbreaking the device:

I've found:

and I'd like to see what else is out there. I know that Apple may or may not allow usage of an interpreter in an app (or downloading new code to run in the interpeter), but I'm ok with that, as I want this mostly to simplify development.

Are there any other examples out there?

A: 

PHP, Python, Tcl.

luvieere
Thanks for the suggestions. You made me realize though that I wasn't as specific in my question as I should've been, being that I'm looking for examples that don't require jailbreaking, and preferably have some example source to show how to embed the interpreter in an app! I've added some clarifying points to my question to help with this... thanks!
Brad Parks
+3  A: 

There's Nu.

Nu is a Lisp-on-ObjC-runtime thing. The link above is to information on iPhone embedding. The language homepage is here.

Ken
+1  A: 

iPhone Frotz is an interpreter for the Z-Machine and is open source.

jleedev
+1  A: 

How about C#?

And soon also Flash..

Tubbe
These are specifically not capable of doing interpretation. They get compiled ahead of time.The poster seems to be after something that is more an extension of the IDE than of the program. This is how I use F-Script (on the mac), and it is very useful this way.
Ken
Actually, I agree that C# and Flash aren't what I want, but F-Script isn't it either. I do want an interpreter embedded in the app, so scripts could be run on it from the users documents directory. I know apple won't allow me to download new code to run in the interpreter, but for development, quick prototyping, and allowing other devs to code against an engine I've built, an embedded interpreter works great.
Brad Parks
I use F-Script embedded in the app as a dev tool. Take a look at F-Script Anywhere.Or, for a quick demo jump to the 30 minute mark in this tech talk: http://video.google.com/videoplay?docid=-2563969716754696790
Ken