A little namespace "proposal"

goran.krampe at bluefish.se goran.krampe at bluefish.se
Thu Apr 8 11:06:40 UTC 2004


goran.krampe at bluefish.se wrote:
> "Andreas Raab" <andreas.raab at gmx.de> wrote:
> > > Btw, I am just hacking up such a "rendering filter" I am describing.
> > > Found some code in Environment that almost does the same thing and also
> > > found a nice place to hook it in. Will post later when I have it
> > > working. Would be nice if someone else hacked the Scanner to accept the
> > > Foo::Bar syntax. :)
> > 
> > Here you go...
> 
> Cool! My head just started spinning when I looked into Scanner. :)
> But you know - somehow you now tripped up the class creation parse. Now
> I can't create classes named Foo::Bar, probably because you don't take
> the preceding # into account when parsing.
> 
> Because Foo:Bar is fine. :)

Ok, I tracked it down to Scanner>>xLetter - if I use your version I can
gladly compile methods with qualified names, but then I can't parse
symbols like "#Foo::Bar". And if I use Dan's version of that method I
can, but then of course I can't do qualified names. :)

regards, Göran



More information about the Squeak-dev mailing list