[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-smalltalk] State of the PetitParser
From: |
Holger Hans Peter Freyther |
Subject: |
Re: [Help-smalltalk] State of the PetitParser |
Date: |
Sun, 29 Aug 2010 17:57:16 +0800 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100720 Fedora/3.1.1-1.fc13 Lightning/1.0b2 Thunderbird/3.1.1 |
On 08/29/2010 05:48 PM, Holger Hans Peter Freyther wrote:
> On 08/29/2010 05:30 PM, Paolo Bonzini wrote:
>
>> Which failures are these? I had ported an older version successfully.
>
> PParserTest is failing trying to copy the string from 0 to 3 which is
> obviously wrong. It is something that I have done wrong in the conversion of
> PetitParser. As I said it is accessing member variables of PositionableParser
> and they are different in GST, I tried to pick selectors and I still have to
> understand where PositionableParser starts to count (0 or 1)... so it is more
> a learning experience than a tough issue.
Okay... self position of a PositionableParser returns 0 on start, so I have
added + 1 and now it seems to work nicely. at least all test cases patch, I
will now update to the latest version of the code.