From GNUstepWiki
Jump to navigation Jump to search

A portable Objective-C/Common Lisp bridge.

Current Version: 0.2.2

  • Released: Mar 23, 2008
  • Licensed: GNU LGPLv3


Objective-CL integrates the Common Lisp Object System with Objective-C, making Cocoa and GNUstep development in Common Lisp possible.


Objective-CL is an Objective-C/Common Lisp bridge that tries to be portable both across platforms, supporting various GNUstep platforms as well as Cocoa, and across Common Lisp implementations. In addition to making it possible to instantiate Objective-C classes and send messages to instances and classes, it allows you to subclass Objective-C classes, define slots for either Lisp or Objective-C values and implement methods in Common Lisp that can in turn be called by Objective-C code.

Classes and metaclasses are mapped onto CLOS classes and metaclasses, respectively. As long as you restrict mixins to pure Lisp, making use of multiple inheritance is possible as well.

Though doable in principle, it's not yet easy to create a GNUstep or Cocoa application or framework using Objective-CL, as there is no way of automatically creating an application or framework bundle, which makes loading of resources difficult. Automatic bundling is planned for a future release.


Related Links