[MacRuby-devel] Future MacRuby support for "name-mangling" ?
Hello, Both JRuby and IronRuby support translation from 'native' CamelCase method names to the lowercase_with_underscores naming convention in idiomatic Ruby. They IronRuby guys call this "name-mangling": http://ironruby.net/Documentation/.NET/Names I had an expectation that this would be the case with MacRuby, but I now know that this is not true. Are there any plans to implement this feature in the future? You can probably guess that I like this feature an awful lot. Regards, Scott ___ MacRuby-devel mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Re: [MacRuby-devel] Future MacRuby support for "name-mangling" ?
>* I'm not aware of the particulars of the IronRuby or JRuby bridges, but in >the case of RubyCocoa, there is a translation step to get from a Ruby method >name to an Objective-Cselector. In MacRuby, there is no transation step. >MacRuby method names are Objective-C selectors and vice versa. So, we'd have >to *add* a step in the method dispatch to do translation (since there isn't >already one).* I believe that IronRuby presents a "view" onto the CLR objects, so yes, there is bound to be an intermediate step to facilitate this. Thanks for your time and your answers, gentlemen. Scott ___ MacRuby-devel mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
