On 2008-02-10, at 17:13 EST, Donald Anderson wrote:

On Feb 10, 2008, at 1:57 PM, P T Withington wrote:

This looks great!  Approved.

Comment: In Javascript, symbols begining with $ are supposed to be reserved for internal implementation, so we really are within our rights to use that. If we really cared, we could escape user $ by doubling them or something, but I don't see any reason to.

Yes. But in our case, we are using name like Mixin$Super (not starting with $) for the interstitial. So a user with an embedded '$' (not as first character) could potentially conflict with a generated class. Should I be starting such generated class names with $,
perhaps something like $lzmixin$Mixin$Super ?
Then I'd be able to relax the rule to just disallow initial $.

Yes, I think that is a good idea. I am just using the prefix `$lzc$` everywhere as a fake namespace for compiler-internal stuff.

Reply via email to