<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Oct 31, 2011, at 9:36 AM, Andrew Shalit wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>As far as I understand (which may be entirely wrong):<br><br>* Gambit Scheme compiles to C, and the C is then compiled by Xcode and loaded onto the iPhone the way compiled C is normally loaded onto the iPhone. There is an interpreter running on the iPhone, but the interactive development capabilities of Gambit Scheme are quite limited.<br><br>* iScheme is an interpreter.<br><br>* Codify lets you write Lua apps on your iPad but those apps can never leave your personal iPad. What I read implied that you can't even get the sources off your iPad very easily.<br><br>There are a few ways that I could see CCL running iOS<br><br>1. We could take the Gambit Scheme approach and compile to C. You give up most interactive development.<br><br>2. We could write a full Common Lisp interpreter. I don't know whether anyone has ever actually done that. It's pretty easy to call 'compile' and modern Common Lisp has lots of special forms. But it could certainly be done.<br><br>3. We could write a cross-compiler which runs on the Mac, and sends iOS code across the Xcode wire to the device. This would be a big project.<br><br>4. We could write a CCL development environment that runs on jailbroken iOS devices and supports delivery on non-jailbroken devices. This is legal, but it's not reliable and Apple would likely frown on it.<br><br>I believe that any of these are possible, but none of them are things that we want to do on our own time. We'd be happy to talk to anyone who wanted to fund this work. We'd also like to be able to use CCL to write iOS apps.<br></div></blockquote><div><br></div><div><br></div><div>Thanks Andrew (and Bill)</div><div><br></div><div>I can see that running CCL is a challenge because you really would want eval/compile functionality but what about a CCL based app which does not invoke these kinds of functions. Imagine an app that could be dumped (via save-application). I assume that could be code signed. Would that not work?</div><div><br></div><div>Alex</div><div><br></div><div><br></div><div><br></div><div><br></div><br><blockquote type="cite"><div><br>Andrew<br><br>On Oct 31, 2011, at 10:55 AM, Jianshi Huang wrote:<br><br><blockquote type="cite">On Mon, Oct 31, 2011 at 11:12 PM, Andrew Shalit <<a href="mailto:alms@clozure.com">alms@clozure.com</a>> wrote:<br></blockquote><blockquote type="cite"><blockquote type="cite">Gary may chime with additional details, but the short story is that the code-signing requirements of iOS make it pretty much impossible to get CCL running on standard-issue devices. It's possible to get unsigned code to run on jailbroken devices, of course, but engaging in that sort of cat-and-mouse with Apple doesn't seem like a productive use of our time.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">This is unfortunate, because we do iOS development and we'd love to do it with Lisp, but at this point we can't.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I see.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">But it's still nice to know there's a potential version there. Given<br></blockquote><blockquote type="cite">the facts that there're two schemes (Gambit REPL and iScheme) and the<br></blockquote><blockquote type="cite">recent lua based Codify programming environment already approved in<br></blockquote><blockquote type="cite">the app store, possibly under the category of education software, it<br></blockquote><blockquote type="cite">might be possible to have one for CCL.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Cheers,<br></blockquote><blockquote type="cite">Jianshi<br></blockquote><br>_______________________________________________<br>Openmcl-devel mailing list<br><a href="mailto:Openmcl-devel@clozure.com">Openmcl-devel@clozure.com</a><br>http://clozure.com/mailman/listinfo/openmcl-devel<br></div></blockquote></div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica">Prof. Alexander Repenning</font></p><p style="margin: 0.0px 0.0px 0.0px 0.0px"><br class="khtml-block-placeholder"></p><p style="margin: 0.0px 0.0px 0.0px 0.0px">University of Colorado</p><p style="margin: 0.0px 0.0px 0.0px 0.0px">Computer Science Department</p><p style="margin: 0.0px 0.0px 0.0px 0.0px">Boulder, CO 80309-430</p><p style="margin: 0.0px 0.0px 0.0px 0.0px"><br class="khtml-block-placeholder"></p><p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica">vCard: <a href="http://www.cs.colorado.edu/~ralex/AlexanderRepenning.vcf">http://www.cs.colorado.edu/~ralex/AlexanderRepenning.vcf</a></font></p><br class="Apple-interchange-newline"></span></span></span></span>
</div>
<br></body></html>