Dylan and Objective C messaging

Bruce Mitchener <[email protected]> Tue, 28 Jan 2014 13:08:55 +0700
Newsgroups gmane.comp.lang.dylan.gwydion.devel
Message-ID <CA+esKjM-DOuMhhXuAtpJLpsRBXVm-scgwmajh+13zsr8tS_HQw@mail.gmail.com>
I've just submitted a pull request to include %objc-msgsend in the Dylan
compiler and low-level C-FFI.

This allows sending Objective C messages from Dylan.

An example, the generated DFM and the generated C can be seen here:
https://gist.github.com/waywardmonkeys/8662025

This is only supported in the C backend for now. There's no point in
including it in HARP as that doesn't work on OS X or iOS.  Support can be
added to the LLVM backend in the future.

I'll extend the objc-dylan bridge library that I have to allow using this
over the next day or so.

Hopefully, this will enable someone to work on Cocoa bindings and perhaps a
DUIM/Cocoa once this has been merged to master. :)

If anyone's interested in using this, please feel free to respond here, get
in touch on IRC, etc.

 - Bruce

_______________________________________________
hackers mailing list
[email protected]
https://lists.opendylan.org/mailman/listinfo/hackers