j-mie6 / parsley

A fast and modern parser combinator library for Scala
https://j-mie6.github.io/parsley/
BSD 3-Clause "New" or "Revised" License
175 stars 15 forks source link

Megaparsec style `takeWhileP` #185

Closed j-mie6 closed 1 year ago

j-mie6 commented 1 year ago

Something like takeWhileP from megaparsec, which is like stringOfMany but with a character predicate might be useful: in fact, this could just be made as an overload of stringOfMany!