Re: [Pharo-users] SmaCC parsing "rest until"

2019-01-30 Thread Manuel Leuenberger
Hi Thierry, Thanks for the ideas and references. I also tried parsing with PetitParser2, because with PEGs I can have unlimited lookahead. Still, I did not get it working quickly, and it was ugly anyway. One way would also be to just tokenize the whole remainder of the line into words, and

[Pharo-users] SmaCC parsing "rest until"

2019-01-29 Thread Manuel Leuenberger
Hi, I am currently struggling with understanding why my SmaCC parser refuses to parse a rather simple language. Grammar and example are below. The language consists of multiple leak reports, separated by two newlines. Each leak report has a type and object and byte size on the first line. Then