0.8.0
New Features
#[cache_left_rec]annotation to allow left recursion (#266)- Return matched token/character from
[ ]pattern expression (#234)
Fixes
- Fix Rust grammar for arguments (#261) and type bounds (#279)
- Fix
tracefeature when usinginfix!{}(#277) - Fix
#[cache]with grammar lifetime parameters - Allow
clippy::redundant_closure_calllint in generated grammar (#258)
Breaking changes
Most users will not require changes to upgrade from 0.7 to 0.8; these only affect advanced use cases.
- Allow only lifetime, not type, parameters at the grammar level. (type parameters were never properly supported)
- Add
'inputlifetime parameter toParseElemtrait so implementations can return tokens by reference. (#268) - Require
CopyonParseElem::Elementto better represent the expectation that they are cheap to copy/move.
Contributors: @kevinmehall @zsol @neunenak @fgasperij