help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] State of the PetitParser


From: Paolo Bonzini
Subject: Re: [Help-smalltalk] State of the PetitParser
Date: Sun, 29 Aug 2010 18:28:55 +0200

On Sun, Aug 29, 2010 at 12:12, Holger Hans Peter Freyther
<address@hidden> wrote:
> On 08/29/2010 06:08 PM, Paolo Bonzini wrote:
>
>> - I don't know if Squeak supports #copyFrom:to: on Streams at all, but
>> if so that may be different as well.  In GNU Smalltalk, #copyFrom:to:
>> on Streams is 0-based. While inconsistent with collections, this makes
>> (a lot of) sense for consistency with the values returned by
>> #position.
>
> The diff is that ReadStream>>on:from:to is assigning vars directly (GST goes
> throup the collection and copyFrom:to)

This can probably be changed in GST too.  Where/how is this used by PP?

> and the second diff is that firstIndex 0,1 are treated equally..

This seems strange, and I think relying on it is bug-prone...

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]