From: stevel on
On Jan 30, 5:26 am, Jeff Hobbs <jeff.ho...(a)gmail.com> wrote:
> On Jan 29, 10:38 am, "Larry W. Virden" <lvir...(a)gmail.com> wrote:
>
> > On Jan 29, 1:23 pm, Bryan Oakley <oak...(a)bardo.clearlight.com> wrote:
>
> > > I don't believe Apple permits any scripting language to run on the
> > > iphone, ipod or ipad. They want to tightly control the way
> > > applications are written for those devices.
>
> > On the other hand,http://modmyi.com/forums/native-iphone-ipod-touch-app-launches/27850-...
> > says that the poster has ported Lua to the ipod/itouch environment.
> > Perhaps this would provide a user with some tips on what to do?
>
> It has nothing to do with technical issues.  The port at the Tcl level
> is trivial (Tk would be quite interesting OTOH), but you are legally
> not allowed to ship it.  You can find some of these available for
> unlocked iphones (I may have seen such, not that I would ever unlock a
> device or void my warranty ...).

It is my understanding that the issue isn't a restriction on scripting
languages per-se, but on any application that can run arbitrary code.
On that basis, I concluded that a tclkit (i.e. single file
executable) with certain features remove (e.g. eval) should get
through the approvals process and was contemplating testing that at
some stage.

That being said, having got into iPhone development I'm not convinced
this would actually have a lot of practical value unless it included
bindings to the various APIs.

Steve
From: PaulWalton on
On Jan 29, 3:26 pm, Jeff Hobbs <jeff.ho...(a)gmail.com> wrote:
> On Jan 29, 10:38 am, "Larry W. Virden" <lvir...(a)gmail.com> wrote:
>
> > On Jan 29, 1:23 pm, Bryan Oakley <oak...(a)bardo.clearlight.com> wrote:
>
> > > I don't believe Apple permits any scripting language to run on the
> > > iphone, ipod or ipad. They want to tightly control the way
> > > applications are written for those devices.
>
> > On the other hand,http://modmyi.com/forums/native-iphone-ipod-touch-app-launches/27850-...
> > says that the poster has ported Lua to the ipod/itouch environment.
> > Perhaps this would provide a user with some tips on what to do?
>
> It has nothing to do with technical issues.  The port at the Tcl level
> is trivial (Tk would be quite interesting OTOH), but you are legally
> not allowed to ship it.  You can find some of these available for
> unlocked iphones (I may have seen such, not that I would ever unlock a
> device or void my warranty ...).
>
> Jeff

You just need to jailbreak the phone, which isn't too hard. I googled
for a build of tclsh that was supposed to run on the iphone, but it
didn't work. If someone can get tclsh to run, I will gladly host it...
From: David N. Welton on
> It is my understanding that the issue isn't a restriction on scripting
> languages per-se, but on any application that can run arbitrary code.
> On that basis,  I concluded that a tclkit (i.e. single file
> executable) with certain features remove (e.g. eval) should get
> through the approvals process and was contemplating testing that at
> some stage.

This is what I have come to understand too. You could include an
interpreter if it doesn't go out and run random things, and is more or
less self-contained with all its scripts and environment.

What they don't want is someone creating a scripting environment that
can then run random scripts that don't go through Apple's vetting
process.