Re: Thinking (again) about an Objective-C bridge

Rob Myers <[email protected]>
Newsgroups gmane.comp.lang.dylan.gwydion.devel
Message-ID <[email protected]>
On 14/06/13 04:25, Bruce Hoult wrote:
> Ideally, what you want is:
>
> - grab the symbols for the method and additional argument names
> - convert to strings and concatenate
> - create a global variable with that name (prefixed) to hold the
> selector value.
> - add the var and string to a hash table (or generate code) to look up
> the selector value at program startup

Yes that sounds good.

I wrote an Objective-C bridge for Gwydion, the notes may be useful:

https://github.com/dylan-hackers/GD_2_4/tree/master/platform/cocoa

- Rob.
_______________________________________________
hackers mailing list
[email protected]
https://lists.opendylan.org/mailman/listinfo/hackers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.