« | Main | Things to read when you've nothing to read »

July 12, 2006

Using Mac OS X's Cocoa without Objective C

I’m having real problems trying to work out how to interface with the Cocoa runtime on Mac OS X. F-Script, a “lightweight open-source scripting layer” for Cocoa, looks very good and also has a super-useful list of language bridges to the Cocoa runtime. The one I’m looking for, a Haskell-Objective C bridge, is there too. Unfortunately I couldn’t get the examples to work, and the project maintainers seem to have found more interesting things to be doing… which is a shame, as the bridge no longer compiles on Tiger.

Update: Spoke too soon here about HOC - I managed to compile it on 10.3. The trick is to update XCode to 1.5, and then apply a GCC update. Both updates are available from Apple’s Developer website but that requires registration and agreeing to their T & Cs. I’m sure there’s a way to update GCC without going the XCode updating route but I’m not clued in enough to puzzle it out…

Posted by Oliver at July 12, 2006 04:06 PM

Comments

Post a comment

AWVC uses the Markdown formatting system, a very simple way to format your comments. Whitespace is converted directly. Enclose a phrase with asterisks to italicise, and two asterisks (**) to embolden. A good introduction to the Markdown format is available here.

Cleverly, though, the preview is basically useless (it will just show what you've typed). If you want a real preview, enter your text into the Markdown Dingus, then re-enter it here.




Remember Me?

(you may use HTML tags for style)