[Openmcl-devel] cocoa

Hamilton Link helink at sandia.gov
Wed Mar 19 23:24:18 UTC 2003


As people have said, the examples folder is distributed in the source 
distribution, and not in the binaries distribution.

(not sure why that is... certainly I can see that you could want to run 
examples without needing source code for all of MCL... Gary, would that 
be a sensible change to make?)

In any case, once you've got the source distribution (just unpack it 
right over top of the other distribution, i.e. unpack both of them in 
the same place) and got openmcl running (remember to set the 
CCL_DEFAULT_DIRECTORY in your environment, in particular, and add the 
??/ccl/scripts directory to your path), you can try the cocoa code that 
exists now by doing the following:

? (require "COCOA")
"COCOA"
#|
the cocoa-based listener should appear, as should an icon in the dock 
at this point you can enter commands into the cocoa listener, or hit 
splat-n (new, in the menu) to create source files that you can edit and 
save with a reasonably primitive editor window
|#
? (require "COCOA-INSPECTOR")
"COCOA-INSPECTOR"
#|
no additional windows will appear, but you can now inspect objects with 
a primitive inspector window made by yours truly -- it's not great, I 
just haven't gotten around to making a better one...
|#
? (ccl::cinspect (list 1 2 3))
#<A Mac Pointer #x41D70070>
?

I suspect you can find the code on your own in the examples folder 
(once you've gotten this far).

hamilton

On Wednesday, March 19, 2003, at 01:09 PM, tom jones wrote:

>
>
>
>
>
> There are supposed to be examples of how to use openmcl with cocoa in 
> the distribution but there doesn't seem to be any in the version
> I downloaded: openmcl-darwinppc-bin-0.13.4.tar.gz.Do I have to download
> these cocoa examples separately?
>
>
> _________________________________________________________________
> Add photos to your messages with MSN 8. Get 2 months FREE*.  
> http://join.msn.com/?page=features/featuredemail
>
>
> _______________________________________________
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
> http://clozure.com/cgi-bin/mailman/listinfo/openmcl-devel
>



_______________________________________________
Openmcl-devel mailing list
Openmcl-devel at clozure.com
http://clozure.com/cgi-bin/mailman/listinfo/openmcl-devel



More information about the Openmcl-devel mailing list