Skip to content

Releases: ChaosInventor/parse-ebnf

v2.0.2

31 Aug 11:31
v2.0.2
Compare
Choose a tag to compare

Forgot to bump version.

v2.0.1

31 Aug 11:28
v2.0.1
Compare
Choose a tag to compare

Changelog:

  • Moved parsing helper functions from module root to submodule since
    they referenced parsing. parsing could not be imported due to a
    circular import.

v2.0.0

30 Aug 12:54
v2.0.0
Compare
Choose a tag to compare

Changelog:

  • Renamed all nodes by removing their 'AST` prefix and 'Node' suffix;
  • The usage of repr() and str() for nodes has been swapped. repr() gives a debug view while str() gives the yield;
  • Tree structure changes:
    • Text is no longer inherited from, instead it is a regular node inheriting from the abstract class Leaf that takes it place;
    • Comment is not a leaf node, it uses Literal and Text nodes for it content and other Comment nodes for recursion;
    • Repetition does not hold the count in a variable anymore, instead it uses the new Number node that is a Leaf.
  • AST has been renamed to PT;
  • New errors are defined for usage in this package instead of SyntaxError. With the new errors comes the ability to handle parsing errors in the form of partial parse trees. See the documentation for details.
  • Tests cover more parts of a node's structure.

v1.0.2

11 Aug 17:43
v1.0.2
Compare
Choose a tag to compare

Forgot to bump version number on previous release.

v1.0.1

11 Aug 17:35
v1.0.1
Compare
Choose a tag to compare

What's Changed

  • Add documentation
  • Add CI/CD