pest icon indicating copy to clipboard operation
pest copied to clipboard

The Elegant Parser

Results 118 pest issues
Sort by recently updated
recently updated
newest added

Hi, I am writing some unit tests for a function that takes `Pair

help-wanted
good-first-issue
pest
generator

For example, a grammar for [Conway polyhedron notation](https://en.wikipedia.org/wiki/Conway_polyhedron_notation) requires reversing the order of symbols at the top level of the resulting token tree. In this grammar the string [`mt3nD`](https://levskaya.github.io/polyhedronisme/?recipe=mt3nD) will...

enhancement
generator
grammar

Hi there, I thought I'd mention an issue I had using pest `fails_with` with other libraries that derive functions with the same signature. This is following a discussion on another...

enhancement
pest

### TL;DR Domain-aware input generator helps fuzzing tests for programs using uses `.pest` files. Same idea with [Testing Random, Valid SQL in CockroachDB](https://www.cockroachlabs.com/blog/testing-random-valid-sql-in-cockroachdb/) ### Motivation I'm developing a RDBMS whose...

rfc
tooling

Right now, `PrecClimber` can only determine operator precedence based on `Rule` enums. This partly defeats the point of `PrecClimber`, because ideally adding an operator shouldn't require changing the grammar, but...

enhancement
generator

Consider the following grammar: ``` integer = { ASCII_DIGIT+ } d = { "d" } WHITESPACE = _{ " " } diceroll = { integer ~ d ~ integer }...

bug
pest

Hello, [The book](https://pest.rs/book/grammars/syntax.html) says that `@{...}` creates an atomic rule and `_{...}` creates a silent rule. But (afaik) there is currently no way to create a rule that is both...

enhancement
grammar

It would be nice if `PrecClimber`, or a variant of it, could have support for prefix/suffix operators. Currently it requires copying over the code and implementing it yourself, which while...

enhancement
generator

Here is the minimal code that produces the error for me: `toy_language/mod.rs`: ```rust //use pest::Parser; // Implicitly generates a `Rule` enum #[derive(Parser)] #[grammar = "toy_language/calculator.pest"] struct CalculatorParser; #[cfg(test)] mod tests...

bug
generator

Hello, in the process of upgrading our CI to use the latest Rust toolchain (1.55.0), we've encountered an error originating from this crate. It seems that the lint `forbidden-lint-groups` has...

bug
generator