This repository was archived by the owner on Aug 28, 2023. It is now read-only.
v0.5.0
This release ships a new example (boolean expression parser), bug-fixes, performance improvements and an improved fragment printer implementation allowing the user to specify printing prefixes, custom line-breaks and custom token-header formatting functions.
Added
- A new boolean expression parser example was added.
Changed
PrintFragment
now takesFragPrintOptions
as the second parameter.
Fixed
- Endless recursion on right-recursive grammars was fixed by making the parser check for EOF before parsing terminals.
PrintFragment
now uses spaces instead of line-breaks when indentation is disabled.