[Openmcl-devel] ClozureCL on iPhone

Andrew Shalit ashalit at learningtouch.com
Wed Nov 2 05:36:10 PDT 2011


I probably should have said "theoretically possible" rather than "technically possible".

On Nov 2, 2011, at 8:28 AM, Andrew Shalit wrote:

> What you're asking for is a cross-compiler and cross-dumper.
> 
> When CCL is running on a Macintosh with an Intel processor, the compiler produces code for the Macintosh and Intel processor.  You want the compiler to have a special mode where it can create iOS ARM code even though it is running on a Macintosh.
> 
> Furthermore, the process of creating a Lisp program almost always involves the creation of initial datastructures, which then get dumped out.  These initial datastructures are created by running Lisp code.  So you'd want to be able to run Lisp code on the Macintosh (or whatever) that would somehow create data structures suitable for the iOS ARM.  That's just not the way most Lisps (including CCL) work.
> 
> This is all technically possible, but it would be a lot of work.
> 
> 
> On Nov 2, 2011, at 7:59 AM, Lynbech Christian wrote:
> 
>> I am getting a little confused.
>> 
>> I understand that getting a full-fledged CCL, including compiler and
>> REPL, up and running on an iDevice is pretty difficult.
>> 
>> But if one looked at the (presumably) simpler problem of just getting a
>> standlone application transferred to the device, ie one that was
>> developed and dumped with CCL but without any dynamic development
>> environment, would we still need heavy handed extensions of CCL (like
>> compilling to C)?
>> 
>> 
>> ------------------------+-----------------------------------------------------
>> Christian Lynbech       | christian #\@ defun #\. dk
>> ------------------------+-----------------------------------------------------
>> Hit the philistines three times over the head with the Elisp reference manual.
>>                                       - petonic at hal.com (Michael A. Petonic)
> 
> _______________________________________________
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
> http://clozure.com/mailman/listinfo/openmcl-devel




More information about the Openmcl-devel mailing list