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

It recently hit me that Pest's `QueueableToken` list is roughly isomorphic to the flat tree that [Rowan](https://github.com/rust-analyzer/rowan) uses. That means we can, with no change to the internal representation, provide...

enhancement
pest
maybe
needs-decision

Currently we need to write separate code to convert pest parsed representation to our own AST representation, as shown in JSON example. The drawback of that approach is that you...

enhancement
pest

# Summary Make white-space handling less confusing / more consistent with the introduction of an "adjacent selector": `,` # Motivation * The rules `soi`, `eoi`, `white-space` & `comment` look like...

help-wanted
rfc
needs-decision

## Motivation [One of the advertised features of LALRPOP](http://lalrpop.github.io/lalrpop/tutorial/007_macros.html), macros/templates/generics are a useful tool for factoring out common parts of your grammar. The common example is `CommaSeparated` to represent `production...

help-wanted
rfc
needs-pof

Would be nice to be able to parse streams like stdin and network sockets. Can only find file and string at the moment https://docs.rs/pest/1.0.0-beta.9/pest/inputs/trait.Input.html#implementors

help-wanted
needs-rfc

I have a few grammars for related formats / languages that share some common rules. Is there a way to readily share rules between separate grammar files? It wouldn't make...

help-wanted
good-first-issue
needs-rfc
mentored

# Summary This RFC hopes to address the concerns in #197, #261, #271, and #329 by laying the foundation of pest's evolution and transition. # Motivation While pest grammars offer...

rfc
grammar

I searched for a parser generator library that can parse my pest grammar file with few modifications and output C++{11,17} code. Unfortunately I did not find anything. If pest had...

help-wanted
needs-rfc

This can be an interesting idea to keep in mind for the future. I have already experimented with single-consumer-single-producer queues in order to have a token-producing and a token-consuming queue,...

help-wanted
question
pest
runtime-performance
needs-rfc

This is an initial draft implementation for modules, that I picked up about a week ago. Hopefully, this will lead to use statements and eventually, a standard library. ## Syntax...