megaparsack icon indicating copy to clipboard operation
megaparsack copied to clipboard

Racket parser combinators inspired by parsack and megaparsec

Results 11 megaparsack issues
Sort by recently updated
recently updated
newest added

Hi Alexis, I've been playing with this wonderful tool you've made (thank you!) and run into something that is unexpected. I was following [the docs](https://docs.racket-lang.org/megaparsack/producing-syntax.html) to parse "prefix" function calls,...

In addition to `string?`, `label/p` should also accept `(-> string?)` as the `label` argument. This way, nonliteral labels can be produced only when failures are reported. This is most useful...

Hi, I had a few things failing and narrowed it down to the use of string-ci/p: ``` (parse-string (string-ci/p "LDA") "lda") => (failure (message (srcloc 'string 1 0 1 2)...

(I'm new to racket and to megaparsack. Both look very interesting. Please let me know if I'm sending this bug report in a wrong way. I already reported this at...

Fixes https://github.com/lexi-lambda/megaparsack/issues/24 and adds more tests.

> Parses a sequence of characters that is case-insensitively equal to str and returns str as its result. I think you mean _case-sensitively_ here.

The documentation for `one-of/p` states: > Like (or/p (one-of/p v =?) ...). I'm not sure what this means.

Hi Alexis, Please add the `racket` topic to this repo - I think others will be interested and this will help them find it at https://github.com/topics/racket https://help.github.com/en/articles/classifying-your-repository-with-topics Kind regards, Stephen

when using `many/p p #:sep sep`, the parser expects to parse `p` if `sep` is successful. but sometimes, we'd like to parse `sep` not followed by `p`. for instance, in...