[squeak-dev] Re: Selectors with underscores
andreas.raab at gmx.de
Fri Mar 12 06:52:57 UTC 2010
On 3/11/2010 7:16 PM, Igor Stasenko wrote:
>> Having a working implementation of a tool that that automatically rewrites
>> underscores into assignments on fileIn and MC package install would go a
>> VERY long way to alleviate my concerns. In fact, even a prototype that
>> illustrates the concept might be enough for now because it may encourage
>> others to help.
> Are you talking about this one? (see attachment).
Close, but no cigar. The problem with FixUnderscores is that it requires
the code to be loaded under the old rules first. If you can't load the
old code FixUnderscores is completely pointless. That's why I'm saying
something that illustrates rewriting DURING fileIn / package load is so
Basically, what I'm asking for is this: What process does someone have
to go through when they file out code from Squeak 2.0 and into Squeak
4.1? If it just breaks, I'd not be happy. If it asks you for example
"hey, this looks like old code using underscore assignments, would you
like me to convert this to the current style?" I'd take it.
BTW, there are other approaches that would make me similarly happy, this
is just an example. I'm looking for a consistent story where we can tell
people "oh, you got code from Squeak 2.8, here is what you do: ...."
More information about the Squeak-dev