cats-parse icon indicating copy to clipboard operation
cats-parse copied to clipboard

A parsing library for the cats ecosystem

Results 37 cats-parse issues
Sort by recently updated
recently updated
newest added

Has any thought been given to abstracting over the input type? I'm thinking specifically of binary inputs like `Array[Byte]`, `fs2.Chunk`, `scodec.bits.ByteVector`, or `java.nio.ByteBuffer`. I'm struggling to compete with an HTTP/1...

see: https://github.com/typelevel/cats-parse/pull/282#issuecomment-949881598

Hi all, I'm trying to [port scala-uri to cats-parse](https://github.com/lemonlabsuk/scala-uri/pull/291). One difficulty I'm facing is with parsing path parts including empty ones: ``` a/b/c /a/b/c a//c /a//c ``` What I would...

The original design post contains this quite reasonable statement: > It is interesting to note how Parser1 composes with Parser: if you sequence one of each, you get a Parser1...

Hi all! I'm just trying to port scala-uri from parboiled2 to cats-parse. One thing I find rather confusing is the `with1` method to make a `Parser0` behave like a `Parser`....

Currently, we can only parse from entire strings. It would be nice to be able to parse a string at a given offset and only up to a given length....

How would I best use `cats-parse` with Scalas string interpolation feature, where the input I am parsing is not just a plain string but also arbitrary values that are interpolated...

Because ParserTest contains so many tests, making isolated changes and quickly testing with testOnly or testQuick is slower than you'd ideally want it to be. Splitting up ParserTest would enable...

see: https://matrix.to/#/!qrcPEbYoUyqhEvxImO:gitter.im/$AoSsgoWnlpnJXPAnAOyk9j49y2CFbAhUB4Ed9PmxCwo?via=gitter.im&via=matrix.org The main issue is that if you have do this pattern: ```scala Defer[P1].fix[Ast] { self => ... P.oneOf1(a :: b :: c ... } ``` then you have...

I think we are currently testing all the laws these typeclasses require, but we aren't using the cats laws package. It might be nice to use those just to be...