[MacRuby-devel] implementation of symbols

Linan Wang tali.wang at gmail.com
Mon Oct 5 17:06:58 PDT 2009


That's a quick response. I'll look into the codes. Thanks!
On 6 Oct 2009, at 01:05, Laurent Sansonetti wrote:

> Hi Linan,
>
> Actually, we do use SELs to unify symbols (if you look at parse.y).  
> The Symbol class just inherits from NSString for convenience purposes.
>
> The current code is far to be perfect but so far it works okay.
>
> Laurent
>
> On Oct 5, 2009, at 4:55 PM, Linan Wang wrote:
>
>> Hi,
>> I read a little bit source codes and found out that Symbol is  
>> implemented on top of NSString. My question is if it's a better  
>> choice to use SEL as the basis when objc is available? objc runtime  
>> takes care of the registration and management. I guess using  
>> NSString class is a decision with good reasons, could anybody  
>> please shine some lights on it? Thanks
>> Best wishes
>> Linan
>> _______________________________________________
>> MacRuby-devel mailing list
>> MacRuby-devel at lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel



More information about the MacRuby-devel mailing list