Skip to content

0.14.0

Compare
Choose a tag to compare
@igordejanovic igordejanovic released this 19 Jun 13:27
· 76 commits to master since this release
0.14.0

This release brings multiple new features and improvements. Read the Release Notes for more info.

Added

  • pglr parse for parsing files and displaying parse trees and forests.
  • pglr trace --frontier for organizing GSS nodes for GLR trace into
    frontiers (a.k.a. shift levels)
  • to_dot on trees and forests for rendering GraphViz dot string. Used in
    pglr parse if --dot switch is provided to create dot file of a parse
    forest/tree.
  • Parenthesized groups in grammar rules.
  • New examples: JSON, BibTeX, Java (based on Jave SE 16).
  • New performance tests based on the new example grammars.

Changed

  • Changed tree_str on parse trees to to_str. (BIC)
  • Improved GLR implementation. Improved performance.
  • GLR parsing now returns Forest object which can be indexed and iterated
    yielding lazy trees. See Release Notes for more info. (BIC)
  • Dropping support for deprecated Python 3.4 and 3.5 versions. (BIC)