Skip to content
This repository was archived by the owner on Aug 28, 2023. It is now read-only.

v0.5.0

Compare
Choose a tag to compare
@romshark romshark released this 30 Sep 00:10
· 13 commits to master since this release

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 takes FragPrintOptions 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.