Re: [MacRuby-devel] implementation of symbols

2009-10-05 Thread Linan Wang
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 pe

Re: [MacRuby-devel] implementation of symbols

2009-10-05 Thread Laurent Sansonetti
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 bi

[MacRuby-devel] implementation of symbols

2009-10-05 Thread Linan Wang
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 wi