views:

444

answers:

4

Hi. I'm finding embeddable Scheme interpreter(or JIT compiler or anything) into Cocoa Touch. I think just a C compatible Scheme engine may be fine. Please recommend some. I wish it's MIT/BSD style free license, but commercials are fine too.

And.. does Apple AppStore allow embedded scripting like Scheme?

+2  A: 

You could do this so long as there was no DOWNLOADED or USER-ENTERED script/code. If all you were using Scheme for was internal scripting, that would be allowed.

Ben Gottlieb
Thanks! The answer one of what I wished for! Of course, all codes are my own built-ins.
Eonil
+1  A: 

You may be interested in Gambit Scheme.

For your second question: No, Apple doesn't allow interpreted code to run in your application.

EDIT

Ben Gottlieb is right, you cannot run user-scripts in your app, but internal code interpretation is supposed to be okay.

Martin Cote
A: 

I believe TinyScheme is used by the GIMP for its script-fu. It's also BSD-licensed.

Aidan Cully
+4  A: 

I think James Long's blog is exactly what you're looking for: http://jlongster.com/software/iphone/scheme-iphone-example/

Adam
That was way easier than I thought it would be. Thanks for the pointer!
Amigable Clark Kant
Thanks, I currently digging it:)
Eonil