name | mode | size |
---|---|---|
.gitignore | 100644 | 0 kb |
Makefile | 100644 | 0 kb |
README.org | 100644 | 1 kb |
demo-app.lisp | 100644 | 8 kb |
nsrect-expose.m | 100644 | 1 kb |
objc-runtime-types.lisp | 100644 | 1 kb |
objc-runtime.asd | 100644 | 1 kb |
objc-runtime.lisp | 100644 | 6 kb |
package.lisp | 100644 | 0 kb |
readtable.lisp | 100644 | 2 kb |
* Intro
CCL and LispWorks and other implementations have their own bridges to
the objective-c runtime. This project is an attempt to create a
bridge that only uses CFFI so that arbitrary lisp implementations can
produce native mac GUIs. In the long run, I hope to use this as the
basis for a new mac-native backend for McClim: but we'll see if that
ever happens.
For the time being, though, this only works on CCL and (sort-of) on
LispWorks: it works like 95% on SBCL, but there's some weird issue
that's preventing the window from showing. I hae not tested the code
on any other implementations, but doing so will require changing a
couple places in objc-runtime.lisp to inform the code about the new
lisp's ffi types.
* Installing
1. clone fwoar.lisputils from
https://github.com/fiddlerwoaroof/fwoar.lisputils and put it
somewhere quicklisp can find it (e.g. ~/quicklisp/local-projects)
2. run the demo:
#+BEGIN_SRC sh
make run CCL=/path/to/ccl
#+END_SRC