RBScanner>>#initializeClassificationTable

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

RBScanner>>#initializeClassificationTable

Torsten Bergmann
Hi Lukas,

>In Pharo 1.2 we hopefully remove the option (underscore assignments)
>to get rid of them for all and forever.

You wont get rid of them just by removing the option. :(

There is a lot of "legacy" code out there that is not converted
and will then not be loadable in Pharo >= 1.2 or greater.

Keeping the option would allow to load this code and convert
it to standard assignment in the future. Otherwise
one has to use Squeak or Pharo < 1.2 to convert before using
it in recent images.

On the other side we havent cared on backward compatibily too
much anyway (yet) ...

Bye
T.




--
GMX DSL Doppel-Flat ab 19,99 &euro;/mtl.! Jetzt auch mit
gratis Notebook-Flat! http://portal.gmx.net/de/go/dsl

Reply | Threaded
Open this post in threaded view
|

Re: RBScanner>>#initializeClassificationTable

Lukas Renggli
I agree, removing the option in Pharo 1.2 is maybe a bit early. The
idea is to gradually increase the pain of underscore assignments, to
finally get rid of them.

Lukas

On 26 November 2010 09:02, Torsten Bergmann <[hidden email]> wrote:

> Hi Lukas,
>
>>In Pharo 1.2 we hopefully remove the option (underscore assignments)
>>to get rid of them for all and forever.
>
> You wont get rid of them just by removing the option. :(
>
> There is a lot of "legacy" code out there that is not converted
> and will then not be loadable in Pharo >= 1.2 or greater.
>
> Keeping the option would allow to load this code and convert
> it to standard assignment in the future. Otherwise
> one has to use Squeak or Pharo < 1.2 to convert before using
> it in recent images.
>
> On the other side we havent cared on backward compatibily too
> much anyway (yet) ...
>
> Bye
> T.
>
>
>
>
> --
> GMX DSL Doppel-Flat ab 19,99 &euro;/mtl.! Jetzt auch mit
> gratis Notebook-Flat! http://portal.gmx.net/de/go/dsl
>
>



--
Lukas Renggli
www.lukas-renggli.ch

Reply | Threaded
Open this post in threaded view
|

Re: RBScanner>>#initializeClassificationTable

Eliot Miranda-2


On Fri, Nov 26, 2010 at 4:35 AM, Lukas Renggli <[hidden email]> wrote:
I agree, removing the option in Pharo 1.2 is maybe a bit early. The
idea is to gradually increase the pain of underscore assignments, to
finally get rid of them.

That's fine.  But the scanner still needs to support them always because otherwise you'll get a syntax error parsing old source files containing underscores.  That's the intent of my Scanner>>#initScannerForTokenization method which is used by the ChangeScanner so that old files can still be examined.

Right?

Eliot


Lukas

On 26 November 2010 09:02, Torsten Bergmann <[hidden email]> wrote:
> Hi Lukas,
>
>>In Pharo 1.2 we hopefully remove the option (underscore assignments)
>>to get rid of them for all and forever.
>
> You wont get rid of them just by removing the option. :(
>
> There is a lot of "legacy" code out there that is not converted
> and will then not be loadable in Pharo >= 1.2 or greater.
>
> Keeping the option would allow to load this code and convert
> it to standard assignment in the future. Otherwise
> one has to use Squeak or Pharo < 1.2 to convert before using
> it in recent images.
>
> On the other side we havent cared on backward compatibily too
> much anyway (yet) ...
>
> Bye
> T.
>
>
>
>
> --
> GMX DSL Doppel-Flat ab 19,99 &euro;/mtl.! Jetzt auch mit
> gratis Notebook-Flat! http://portal.gmx.net/de/go/dsl
>
>



--
Lukas Renggli
www.lukas-renggli.ch


Reply | Threaded
Open this post in threaded view
|

Re: RBScanner>>#initializeClassificationTable

Stéphane Ducasse
In reply to this post by Torsten Bergmann
I would prefer to make sure that we ensure that people can load file with underscores. And one day we discard that.


On Nov 26, 2010, at 1:35 PM, Lukas Renggli wrote:

> I agree, removing the option in Pharo 1.2 is maybe a bit early. The
> idea is to gradually increase the pain of underscore assignments, to
> finally get rid of them.
>
> Lukas
>
> On 26 November 2010 09:02, Torsten Bergmann <[hidden email]> wrote:
>> Hi Lukas,
>>
>>> In Pharo 1.2 we hopefully remove the option (underscore assignments)
>>> to get rid of them for all and forever.
>>
>> You wont get rid of them just by removing the option. :(
>>
>> There is a lot of "legacy" code out there that is not converted
>> and will then not be loadable in Pharo >= 1.2 or greater.
>>
>> Keeping the option would allow to load this code and convert
>> it to standard assignment in the future. Otherwise
>> one has to use Squeak or Pharo < 1.2 to convert before using
>> it in recent images.
>>
>> On the other side we havent cared on backward compatibily too
>> much anyway (yet) ...
>>
>> Bye
>> T.
>>
>>
>>
>>
>> --
>> GMX DSL Doppel-Flat ab 19,99 &euro;/mtl.! Jetzt auch mit
>> gratis Notebook-Flat! http://portal.gmx.net/de/go/dsl
>>
>>
>
>
>
> --
> Lukas Renggli
> www.lukas-renggli.ch
>