Kaspar Schiess

Results 21 comments of Kaspar Schiess

Yes there is. It becomes apparent when you do something like this: ``` str('a').as(:a).repeat.as(:b).parse('aaaaa') ``` However, I would consider a second (third/last) argument to `repeat` to specify whether an empty...

If you add multiple layers of Entity, Sequence, ... on top, you wont be able to tell.

I've thought about this and see the opportunity for improvement now. I'll execute your last idea as soon as I get to it.

My answer here would be the same as for #221. The trick you discovered (naming a bit) is the workaround for pragmatic use ;)

Sounds like a bit of a new use case for parslet; new in the sense that it was never going to work on huge inputs and wasn't made for it...

As far as I understand, the move to the new Github actions makes this PR obsolete?

It sounds useful. Do you have a working solution for this that doesn't slow down all transformations? Seems to me that you have to do more checking at each stage.