There is actually an Objective-C Bridge for the second best Scheme in the world. And I hadn't seen it before. It looks very interesting, the author has a nice tutorial online where he controls his iTunes with Scheme. And a lot of other source samples for Chicken-Scheme, including the obligatory currency converter. However, you need a newer Chicken-Scheme version (i.e., a current snapshot), otherwise the -objc switch is not supported.

If they keep being this productive, Chicken will soon displace the best Scheme from its place.

The installation is quite hairy, so here are some notes on how I did it:

  • Chicken Scheme 2.3 is the minimum
  • Install libffi from Darwinports: sudo port install libffi
  • Install objc Egg:

sudo chicken-setup -c "-I/opt/local/include -L/opt/local/lib" objc