parsatron icon indicating copy to clipboard operation
parsatron copied to clipboard

Clojure parser combinators

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

I know that you're not a fan of .cljc files, but there are many benefits, and so I'm proposing these changes. By having the same code for both runtimes, future...

Hello. I just tried to use the `between` function to parse a string literal. However, when comparing the use of `between` and a hand-made version of it, `between` throws an...

I write a simple [JSON parser](https://github.com/jiacai2050/clj-json) based on parsatron, I think it would be useful to add it in README for beginners.

There's a nice Brainfuck parsing example but it'd be nice if the readme showed me what namespace `defparser` were in.

One of the things I've found challenging with moderately complex parsers is getting a clear handle on their failure modes. There are a number of things about Parsatron that make...

This is a really great project, I'm having a blast learning about parser combinators, thanks so much for your work. I noticed there was no documentation about the lookahead parser...

line number, column number etc. are hardcoded, and (what's worse) converted to strings early on in the process, losing structure. However, the parsing combinators themselves are agnostic as to whether...

;; works as expected (run (attempt (p/char \space)) " ") ==> \space ;; expected nil (run (attempt (p/char \space)) "") ==> Unexpected end of input at line: 1 column: 1...