Parser Combinator Library and faster JSON parser

I have done some API rework and optimizations for my GitHub - nixpulvis/parser-combinator: CFG Parser Combinators for Racket · GitHub library recently and I think it's almost ready for a 2.0 release. I wanted to share some results and see what people think.

First the API is quite nice IMO, supporting things like seq, alt, opt, and more for building parsers. It now also supports lexing tokens to make parsers easier to write for things like skipping whitespace, or comments. It also has a parser called pmap for converting the production's value directly while parsing, which works similarly to other parser combinator libraries I've used.

I recommend reading the JSON implementation, it's ~150 lines of code at the moment and most of that is unicode handling: parser-combinator/json.rkt at master · nixpulvis/parser-combinator · GitHub

It's also quite a bit faster than Racket's own json module's string->jsexpr function:

I'm still trying to clean up the implementation a bit. I've recently added better error messages, but there are likely better ways to do things I haven't found.

Would love to hear what people think.