Releases: ChaosInventor/parse-ebnf
Releases · ChaosInventor/parse-ebnf
v2.0.2
v2.0.1
Changelog:
- Moved parsing helper functions from module root to submodule since
they referencedparsing
.parsing
could not be imported due to a
circular import.
v2.0.0
Changelog:
- Renamed all nodes by removing their 'AST` prefix and 'Node' suffix;
- The usage of
repr()
andstr()
for nodes has been swapped.repr()
gives a debug view whilestr()
gives the yield; - Tree structure changes:
Text
is no longer inherited from, instead it is a regular node inheriting from the abstract classLeaf
that takes it place;Comment
is not a leaf node, it usesLiteral
andText
nodes for it content and otherComment
nodes for recursion;Repetition
does not hold the count in a variable anymore, instead it uses the newNumber
node that is aLeaf
.
AST
has been renamed toPT
;- 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
Forgot to bump version number on previous release.
v1.0.1
What's Changed
- Add documentation
- Add CI/CD