[Pharo-users] Re: Help with PetitParser2 rules

2024-07-07 Thread Rafael Luque
Thank you, Frank. I'll try your suggestion. El dom, 7 jul 2024 a las 6:19, vfclists () escribió: > > > On Fri, 5 Jul 2024 at 10:39, Rafael Luque > wrote: > >> Hi all, >> >> I'm struggling with a small parser using PetitParser2. Here is a fragment >> of some of the rules I'm defining but their be

[Pharo-users] Re: Help with PetitParser2 rules

2024-07-06 Thread vfclists
On Fri, 5 Jul 2024 at 10:39, Rafael Luque wrote: > Hi all, > > I'm struggling with a small parser using PetitParser2. Here is a fragment > of some of the rules I'm defining but their behaviour is not as I could > expect: > > andKeyword := 'and' asPParser trim, #letter asPParser not. > notKeyword