Page 1 of 1

ide on ipad..

Posted: Mon Oct 17, 2011 3:16 pm
by sturgis
I've been messing with some basic languages on the ipad/ipod touch, theres also ischeme, probably other languages (Basic seems to be the most prevalent).

Is there a chance for a livecode development app? For those of us who just like making personal stuff. No standalone building, not sure what other limitations would have to be involved, but it would sure be nice to be able to write my own personal use stuff right on the ipad (like a collection of utility stacks, run right from the Ipad IDE) and wouldn't need a mac to dev on, no major hoops to jump through just to get something going on my device. Just buy it from the app store and go.

The one basic I use most has sprites, multitouch, face recognizer, accelerometer support, all kinds of interesting things that I haven't gotten into very deeply yet.

Would much rather use livecode than basic.

Ah well, one can wish. Probably too many restrictions from Apple to make such a beast allowable, but thought i'd bring it up.

Re: ide on ipad..

Posted: Mon Oct 17, 2011 4:23 pm
by FourthWorld
sturgis wrote:I've been messing with some basic languages on the ipad/ipod touch, theres also ischeme, probably other languages (Basic seems to be the most prevalent).

Is there a chance for a livecode development app?
...
Ah well, one can wish. Probably too many restrictions from Apple to make such a beast allowable, but thought i'd bring it up.
Sadly, I believe you've nailed it. Apple has explicitly forbidden anything that creates or modifies executable code in iOS.

But on Android is may be quite easy, since there are no such restrictions on that platform. I've submitted a request for this, and have volunteered to help make that IDE if needed. We'll see what happens....

Re: ide on ipad..

Posted: Mon Oct 17, 2011 4:59 pm
by sturgis
Will keep my fingers crossed for the android side then. I wish apple was more consistent! The "basic!" app they HAVE allowed is actually not bad.

Maybe the difference is that the basic isn't 'executable' code, its interpreted? (same with scheme) If this is the case, makes you wonder where livecode (with no standalone builder) would actually fall. Of course the whole "build it and pray your time hasn't been completely wasted" method of dealing with apple can be a bit much, even when dealing with an app that will 'probably' be approved. So yeah you're right. An almost guaranteed no-flier like this wouldn't merit the risk.

Ah well. Another reason to go all Androidy.

Re: ide on ipad..

Posted: Mon Oct 17, 2011 5:11 pm
by FourthWorld
sturgis wrote:Will keep my fingers crossed for the android side then. I wish apple was more consistent! The "basic!" app they HAVE allowed is actually not bad.
URL? I'm not familiar with this, but if Apple is allowing this sort of thing perhaps there's a way that can be asked to apply less selective enforcement of their terms.
Ah well. Another reason to go all Androidy.
That, and Widgets. :)

Re: ide on ipad..

Posted: Mon Oct 17, 2011 5:51 pm
by sturgis
Heres a link to Basic!. http://itunes.apple.com/us/app/basic!/id362411238?mt=8 As you can see it definitely sticks to the old style basic look, but as I mentioned, it has sprites, multitouch, accelerometer functionality, and can load and save programs. (to internal storage) Livecode it aint, but some still pretty cool.

There are a couple other basic interpreters (one based on commodore basic, the other not sure)

Here is scheme. http://itunes.apple.com/us/app/ischeme/id395305584?mt=8 Haven't messed with this so don't know what sort of limitations it has.

edit: Just did some more poking around. There is Gambit REPL and pixie scheme III for scheme.
hotpaw basic, hand basic(the c64 implementation), as well as an altaire emulator with included basic. The main limitation to all of these seems to be that you can't download code, but can write all the code you want.

Re: ide on ipad..

Posted: Mon Oct 17, 2011 6:16 pm
by FourthWorld
Interesting. Thanks for posting that.

Did Apple change their iOS SDK license terns, or was the reviewer assigned to that app asleep?

Re: ide on ipad..

Posted: Mon Oct 17, 2011 6:32 pm
by sturgis
Well I read up on HandBasic, it was accepted, then removed, then accepted again. It probably IS true that apples right hand doesnt' know what its left hand is doing. I suspect there might be a bit of "hey thats pretty cool, lets go ahead and approve it anyway" going on. Maybe they have internal methods for making exceptions in some cases?

Have been pondering things though. If I had a mac, and a dev license, it should be possible to build a stack runner just for personal use without all the app approval hassles, right? At which point i can build stacks to my hearts content and run them on the ipad in the stack runner. (does go stack work in an ios build?)

With my limited income though, not sure thats gonna happen. livecode ios license, apple dev membership, and cost of a mac = no food for 2 months. I have some fat, but not 2 months worth.
FourthWorld wrote:Interesting. Thanks for posting that.

Did Apple change their iOS SDK license terns, or was the reviewer assigned to that app asleep?
Hmm. You just gave me an idea. Submit an app with subliminals... (you're getting very sleepy...) That way (Your eyelids are heavy) you could slip in (my app rocks, you will approve it now) all kinds of interesting things.

Re: ide on ipad..

Posted: Mon Oct 17, 2011 6:48 pm
by sturgis
Found a thread that has the following here http://stackoverflow.com/questions/4891 ... the-iphone ..

Code: Select all

Apple started officially allowing programming language interpreters in the iOS App store late Q3 of 2010 (they changed their SDK agreement to clarify this). However interpreters (except for Javascript in a UIWebview) are not allowed to run any downloaded code. Only code built into the app, or typed in by the user.

There are 5 or more Basic interpreters currently available in the App store. They all require you to type in your Basic program.

If you create an interpreter, you might want to make sure it complies with the iOS SDK sandbox rules (doesn't allow file snooping outside the sandbox or attempts at spawning processes, etc.)
Also has a post from the person who developed pixie scheme.

Apparently there was a change in the rules sometime in June. I have yet to find the actual text, but it sounds like obtaining written consent is the key to getting an interpreter accepted.