New features
- Add
#{|input, pos| ... }
custom expr (#395) - Allow type bounds (e.g.
Box<dyn Operand + 'input>
) in rule return types (#385) - Allow specifying generic arguments (e.g.
my_rule::<u32>()
) when calling a rule. (#396)
Deprecations
The never-documented ##method()
syntax is deprecated because the ##
token is not allowed by Rust edition 2024. It will be removed in rust-peg v0.9. ##method()
can be replaced with #{|input, pos| input.method(pos) }
.
Contributors
Full Changelog: 0.8.4...0.8.5