Skip to content

0.13.0

Compare
Choose a tag to compare
@igordejanovic igordejanovic released this 04 Feb 15:06
· 139 commits to master since this release
0.13.0

Changed

  • Optimized calculating line/column from a position (#131). Thanks xor2003@GitHub.
  • LR/GLR implementation rework and cleanup. Corrected handling of EMPTY
    reductions. Support for full CFG set. Better tracing output. (possible (BIC))
  • Removed context parameter to parse* calls. Added extra parameter for
    keeping of additional state during parsing. If extra is not given it is dict by default. ((BIC))
  • Dynamic disambiguation filter parameters change ((BIC), see the docs)
  • Removed explicit Context class. Now, there are context-like objects (
    parser head, error context, GSS node parent etc.) (possible (BIC))
  • Moved project meta-data to setup.cfg and introduced git based versioning
    using setuptools_scm. Thanks KOLANICH@GitHub (#104).

Fixes

  • During GLR rework several bugs are fixed:
    • Wrong positions reported with GLR and EMPTY. Reported by Hyldrean@GitHub
      (see #110)
    • Issue with handling of EMPTY productions in ambiguous grammars. Reported
      by johnw3d@GitHub and stuartlangridge@GitHub (see #112, #114)