Codify for iPad

I’m a little embarrassed that this old post of mine keeps generating steady traffic. It’s entitled “Scripting and the iPad,” and I imagine everyone who finds it through Google has high hopes that it’s going to tell them how to use Python or some other scripting language on their iPad.

Of course it doesn’t. The post was written in the spring of 2010, and it talks mostly about how you can’t script the iPad—at least not with the usual scripting languages. But SEO rules the net, and I get hits from people who are looking for something completely different.

I did write an earlier post about scripting and the iPad in which I compared it to the history of programming on the Mac (recalling that there was no self-hosted programming of the Mac when it was first released) and said this:

I’m not predicting a native development environment for the iPad, but I wouldn’t be surprised to see Apple loosen its restrictions as time goes on.

I’m not sure if Codify proves me right, but it sure seems like a step in the right direction.

Codify on the iPad

(Image stolen from the Two Lives Left website.)

According to its developers

Codify for iPad lets you create games and simulations — or just about any visual idea you have. Turn your thoughts into interactive creations that make use of iPad features like Multi-Touch and the accelerometer.

We think Codify is the most beautiful code editor you’ll use, and it’s easy. Codify is designed to let you touch your code. Want to change a number? Just tap and drag it. How about a color, or an image? Tapping will bring up visual editors that let you choose exactly what you want.

Codify is built on the Lua programming language. A simple, elegant language that doesn’t rely too much on symbols — a perfect match for iPad.

I played around with Lua on a Handspring Visor several years ago. It was one of the more capable languages available for the Palm platform. I wasn’t so impressed with Lua that I began using it on regular computers, but it was a nice enough little language—easy to pick up if you know Perl, Python, Ruby, C, Pascal, etc. It was designed to work primarily as an embedded scripting language, sort of like AutoLisp or VBA or AppleScript, getting its real power not from its own libraries, but from its hooks into the larger system.

If I had an iPad, this would be a review of Codify, because I can’t imagine myself not buying and playing around with it as soon as I saw it mentioned on Daring Fireball. I know it’s being promoted as a game prototyping system, but it sure looks like a little general-purpose scripting environment to me. Self-contained, of course, because iOS won’t allow anything else, but a system a programmer could have some real fun with.

In fact, I’ll be surprised if my affiliate link brings in any referral fees. I suspect most of the people who read this blog have already grabbed a copy.

6 Responses to “Codify for iPad”

  1. Carl says:

    If you own an iPhone/iPod touch you can run Python on it with “Python Math” in the App Store. It’s obviously pretty limited in what it can do (basically you’ve just got a sandboxed interpreter), but it’s neat as a proof of concept, at least, and it’s free for the basic version. Check it out if you have a chance.

  2. jijij says:

    This is certainly not the first application for this type of thing (although this one has “gui stuff” )




    there are heaps more

  3. Will Culpepper says:

    If I hadn’t bought the SECOND I saw it mentioned on twitter, I would have totally used your affiliate link.

  4. Dr. Drang says:

    Neither iLuaBox nor PyPad are very appealing, but Python Math looks like it’s worth downloading.

  5. Alan Schmitt says:

    There is also a very basic Caml interpreter with limited graphical capabilities. Bit I’m definitely buying this one!


    PS: you might want to change the name of your post, as Codify is being renamed as Codea.

  6. Graham Toal says:

    Very inconsistent of Apple to allow this but not to allow “Scratch” which is also a sandboxed toy programing language.