It's a completely valid iPhone app ready to be submitted to the app store. I may have to compile gambit without EVAL to comply to the user agreement, or something like that though.
But, ignore this email thread, since I got it working! I was accidentally loading the wrong object which failed to load for various reasons. LOAD does work on the iphone, at least in the simulator. Now I can compile the app framework just once, install it, and freely develop separate scheme modules without having to recompile/reinstall/etc.! I really like Gambit's loading mechanism. Thanks for such a great system Marc!
If anyone is interested in using Gambit on the iPhone, I'm thinking of writing a blog post about my experiences. If you want, I can send a message to this list when I do so.
- James
On Fri, Jun 5, 2009 at 2:18 PM, Maarten Koopmans maarten@vrijheid.net wrote:
That's pretty cool! Do you use the SDK or did you have to resort to jail breaking? I can see how you can embed Gambit in an "oficial" iPhone app.
--Maarten
James Long wrote:
Hey, folks.
I'm using Gambit on the iPhone. There's one thing I can't get working on it, and that's the LOAD procedure. I've heard reports that you can't load dynamic libraries on the iPhone, but I can't find any documentation about it. Besides, LOAD doesn't work to load in raw scheme code either.
When my application attempts to use LOAD in an app running on the iPhone simulator, it simply crashes without any messages (both when the file is compiled and not). I'm not sure how to debug this, and I was wondering two things: do you use LOAD on the iphone? is there anything in LOAD which I should look at when running Gambit on a different platform than usual?
I think loading dynamic libraries should work in the simulator. And EVAL definitely works, so loading in raw source should work too. I just looked around the Gambit source and everything around these two mechanisms seems fine.
- James
Gambit-list mailing list Gambit-list@iro.umontreal.ca https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list