ECL for iOS update for ECL-11.1.1, Xocde 4, and SDK 4.3

I've committed a new branch of ECL for iOS, which now requires ECL-11.1.1 (latest stable), and produces functioning device binaries for armv6 and armv7 architectures using Xcode 4 and SDK 4.3. This release has been tested on iPhone and iPad devices running iOS 4.3.1.

Please refer to the updated README for further details.

https://github.com/kriyative/ecl-iphone-builder/tree/elf

Please note that the earlier release branch `dragon' has also been updated to work with Xcode 4, and SDK 4.3. However, it continues to be based on ECL-10.4.1.

https://github.com/kriyative/ecl-iphone-builder/tree/dragon

Many thanks to Terje Norderhaug for his help with this update.

ECL on iPhone update

I've just checked in a significant set of changes to the ecl-iphone-builder repository, incuding the following updates:

  • builds with ECL 9.12.3
  • requires the CVS head version of the Boehm Weiss collector
  • smoother build process (should "just work")
  • better SLIME integration (with :spawn communication style as the default)
  • expanded `eclshell' example (more goodies to follow)

As always feedback and bug reports are appreciated.

A lightweight `bind' macro

In my recent work I found myself writing a lot of code that looked like the following:

The above example is a bit contrived, for effect, but hopefully conveys the general idea.

What I wanted was a Clojure style `let' which could destructure inline. There was one Common Lisp implementation (http://common-lisp.net/project/metabang-bind/), which had some nice features, but it was bit much for my needs. So I came up with my own lightweight `bind' macro (see below), which lets me rewrite the above example as:

Way better, IMHO.

Oh, here's the `bind' macro in its entirety:

ECL on iPhone (redux)

A while ago Red Daly posted about some great initial work he had done in porting ECL to the iPhone. I contacted him, and worked to clean up some of the external dependencies, and got ECL to run on the simulator and device (with SLIME). I put together an updated Git repo with all my changes, and finally got around to posting about it.

http://github.com/kriyative/ecl-iphone-builder

Hopefully, this will be of use to others.