News for hackers. Stuff that matters.
Re:Codify: native coding environment for iPad by greggman on Thursday October 27, 2011 @12:59AM (#3161704)
This app goes against the iOS Devloper Program License Terms.

They specifically state no code or scripts may be executed period unless (a) they bundled in the application's package or (b) use WebKit and WebKit's JavaScript

If Apple is relaxing their policies it would be good to know. Lots of others would like to write apps like this but were told they would be banned.

Maybe they are getting around it by running Lua in JavaScript in WebKit?

Re:Codify: native coding environment for iPad by shawndumas on Thursday October 27, 2011 @05:00AM (#3162210)
"We have listened to our developers and taken much of their feedback to heart. Based on their input, today we are making some important changes to our iOS Developer Program license in sections 3.3.1, 3.3.2 and 3.3.9 to relax some restrictions we put in place earlier this year.

In particular, we are relaxing all restrictions on the development tools used to create iOS apps, as long as the resulting apps do not download any code. This should give developers the flexibility they want, while preserving the security we need.

In addition, for the first time we are publishing the App Store Review Guidelines to help developers understand how we review submitted apps. We hope it will make us more transparent and help our developers create even more successful apps for the App Store."

--http://www.apple.com/pr/library/2010/09/09Statement-by-Apple...

Re:Codify: native coding environment for iPad by lloeki on Thursday October 27, 2011 @06:58AM (#3162463)
> "as long as the resulting apps do not download any code"

Does that include using the App Documents mechanism?

Re:Codify: native coding environment for iPad by cstross on Thursday October 27, 2011 @03:41AM (#3162017)
There are already sandboxed Lua, Python, and Scheme implementations on iOS, and have been for some time. The strict "no interpreters" rule seems to have quietly fallen by the wayside a while ago, to be replaced by selective enforcement. (Presumably based on something non-obvious, like: does the implementation offer a way to break out of the app sandbox?)
Re:Codify: native coding environment for iPad by thought_alarm on Thursday October 27, 2011 @02:36AM (#3161891)
Rewards go to those who take the risks.

The app did sit in review for quite some time, according to a quick look at their blog. Either the interpreter is implemented entirely in JavaScript and Webkit (it's not terribly speedy), or Apple is now comfortable enough with Lua to let something like this fly.

Either way, it's really great that there's an app like this for the iPad.

Edit: After poking around the app package, it looks like a real Lua interpreter rendered inside a EAGLView, and not some WebKit/Javascript hack.

Re:Codify: native coding environment for iPad by victim on Friday October 28, 2011 @03:08AM (#3167335)
I heard from the guys that work for Apple that Apple has accepted Lua as a language for many of the apps and realise that it can be sandboxed, so do expect that before approving it. Yes Apple is comfortable with Lua.
Re:Codify: native coding environment for iPad by seclorum on Thursday October 27, 2011 @05:06AM (#3162224)
> real Lua interpreter rendered inside a EAGLView, and not some WebKit/Javascript hack

Just like moai, so I guess I'm off to write that moai-dev environment!

Re:Codify: native coding environment for iPad by prehensile on Thursday October 27, 2011 @03:15AM (#3161967)
The license terms were indeed relaxed last year. Quite a few apps use scripting languages generally, and Lua specifically, including a little game you may have heard of named Angry Birds.
Re:Codify: native coding environment for iPad by ricardobeat on Thursday October 27, 2011 @01:03AM (#3161715)
I really wish this butt-hurt comment wasn't at the top. It's a beautiful app.
Re:Codify: native coding environment for iPad by dendory on Thursday October 27, 2011 @01:18AM (#3161755)
Why not, though? The point is that this kind of app should be allowed, and many people thought about doing stuff like that before, but were told no, so it's a valid question.
Re:Codify: native coding environment for iPad by Tichy on Thursday October 27, 2011 @03:13AM (#3161958)
Uh, it's the truth? No matter how beautiful, it will probably be removed from the app store and the development effort will have been wasted.
Re:Codify: native coding environment for iPad by ricardobeat on Thursday October 27, 2011 @03:21AM (#3161981)
No, it's no the truth. From what I understand they just won't allow apps to execute assets downloaded from somewhere else. As long as there is no sharing of code it should be fine (yeah, that's a shame).
Re:Codify: native coding environment for iPad by simonh on Thursday October 27, 2011 @03:18AM (#3161972)
It's not the truth. Apple has no rules against Lua these days. The problem isn't with using scripts in your app, it's with downloading scripts.
Re:Codify: native coding environment for iPad by greggman on Thursday October 27, 2011 @03:37AM (#3162010)
Lua ok,

User scripts not ok.

Doesn't matter if they are download. The license says no scripts that are not part of the app's package period except WebKit JavaScript scripts

Re:Codify: native coding environment for iPad by Tichy on Thursday October 27, 2011 @04:58AM (#3162201)
I didn't know that the app won't allow sharing of the creations. Maybe they can get by with that (no guarantees on the app store).
Re:Codify: native coding environment for iPad by johncoltrane on Thursday October 27, 2011 @01:57AM (#3161839)
I may be wrong but I seem to remember Apple relaxing their rules sometimes last year.
Re:Codify: native coding environment for iPad by Tichy on Thursday October 27, 2011 @03:15AM (#3161962)
I think they allow you to write your app in different programming languages now. But I can't imagine that they allow you to execute downloadable scripts, which would make it possible to circumvent the app store.
Re:Codify: native coding environment for iPad by Tichy on Thursday October 27, 2011 @04:59AM (#3162202)
Downvoted why?