Re: [Pharo-users] PetitParser problem with plus

2015-01-01 Thread stepharo
Le 31/12/14 16:37, Jan Kurš a écrit : You mean deep into pharo? Or something else? I can do this... Yes I mean let us improve **OUR** documentation. Soon we will release an official version of Deep into Pharo. Then we will convert it to pillar and this means that we will all the Pharo books

Re: [Pharo-users] PetitParser problem with plus

2014-12-31 Thread Jan Kurš
You mean deep into pharo? Or something else? I can do this... On 21 December 2014 at 13:27, stepharo wrote: > Could one of you write a small paragraph for the petit parser chapter? > > Le 18/12/14 09:07, Jan Kurš a écrit : > > Exactly... > > This happens so often that we should add some warnin

Re: [Pharo-users] PetitParser problem with plus

2014-12-21 Thread stepharo
Could one of you write a small paragraph for the petit parser chapter? Le 18/12/14 09:07, Jan Kurš a écrit : Exactly... This happens so often that we should add some warning somewhere in these cases Cheers, Jan On 18 December 2014 at 08:36, Guillaume Larcheveque

Re: [Pharo-users] PetitParser problem with plus

2014-12-18 Thread James Foster
That did it and it makes sense. Thanks so much! > On Dec 17, 2014, at 11:36 PM, Guillaume Larcheveque > wrote: > > So you just have to remove the #star in notA or replace it by #plus to makes > it succeed only when it consume at least one character > > 2014-12-18 7:54 GMT+01:00 Guillaume Larc

Re: [Pharo-users] PetitParser problem with plus

2014-12-18 Thread Jan Kurš
Exactly... This happens so often that we should add some warning somewhere in these cases Cheers, Jan On 18 December 2014 at 08:36, Guillaume Larcheveque < guillaume.larcheve...@gmail.com> wrote: > > So you just have to remove the #star in notA or replace it by #plus to > makes it succeed o

Re: [Pharo-users] PetitParser problem with plus

2014-12-17 Thread Guillaume Larcheveque
So you just have to remove the #star in notA or replace it by #plus to makes it succeed only when it consume at least one character 2014-12-18 7:54 GMT+01:00 Guillaume Larcheveque < guillaume.larcheve...@gmail.com>: > > With x, x it will only go to 2 level deep. > > With the plus you allow to go a

Re: [Pharo-users] PetitParser problem with plus

2014-12-17 Thread Guillaume Larcheveque
With x, x it will only go to 2 level deep. With the plus you allow to go as far as the x rule succeed and your x rule always succeed because notA always succeed due to the star without consuming anything so you fall into infinite loop. 2014-12-18 6:47 GMT+01:00 James Foster : > > There is somethi