Skip to content

Conversation

Paebbels
Copy link
Owner

@Paebbels Paebbels commented Mar 8, 2023

New Features

  • Applied metaclass ExtendedType with useSlots=True to tokens, blocks and groups.
  • Transform linked lists to a pyTooling.Graph using several subgraphs.
    • Export graph and subgraphs to GraphML

Changes

  • Bumped dependencies.
    • Updated usage of pyTooling.TerminalUI to use latest pyTooling v4.0.x with integrated TerminalUI package.
  • Added documentation of dependencies.
  • Updated Sphinx configuration.
  • Updated autoapi template.
  • Renamings:
    • Blocks.ParserStateTokenToBlockParser (and removed old TokenToBlockParser class)
    • Groups.ParserStateBlockToGroupParser
  • Implemented TokenToBlockParser.GetGenerator as TokenToBlockParser.__call__.
  • Implemented != operator on parser state classes.
  • Improved type hints.
  • Removed dictionary iteration functions → now part of pyTooling.
  • Removed dummy graph structures as these are now provided by pyVHDLModel and pyTooling.Graph.

Bug Fixes

  • Added missing file for ANTLR4.
  • Fixes to the ANTLR4 grammar.
  • Removed some initial values on class fields, so it's an instance field and not a class field.
  • Replaced old references to pydecor with pyTooling.Decorators.

Related PRs

@codecov
Copy link

codecov bot commented Mar 21, 2023

Codecov Report

Merging #53 (53376d9) into main (1d6ae16) will decrease coverage by 11.55%.
The diff coverage is 23.86%.

@@             Coverage Diff             @@
##             main      #53       +/-   ##
===========================================
- Coverage   23.93%   12.39%   -11.55%     
===========================================
  Files         118      122        +4     
  Lines       16447    33006    +16559     
  Branches     3728     4923     +1195     
===========================================
+ Hits         3937     4090      +153     
- Misses      12257    28662    +16405     
- Partials      253      254        +1     
Flag Coverage Δ
unittests 12.39% <23.86%> (-11.55%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
pyVHDLParser/ANTLR4/VHDLLexer.py 0.00% <0.00%> (ø)
pyVHDLParser/ANTLR4/VHDLParser.py 0.00% <ø> (ø)
pyVHDLParser/ANTLR4/VHDLParserVisitor.py 0.00% <0.00%> (ø)
pyVHDLParser/ANTLR4/Visitor.py 0.00% <0.00%> (ø)
pyVHDLParser/ANTLR4/__init__.py 0.00% <0.00%> (ø)
pyVHDLParser/Blocks/Assignment/SignalAssignment.py 0.00% <0.00%> (ø)
...VHDLParser/Blocks/Assignment/VariableAssignment.py 0.00% <0.00%> (ø)
...HDLParser/Blocks/Attribute/AttributeDeclaration.py 0.00% <0.00%> (ø)
...LParser/Blocks/Attribute/AttributeSpecification.py 0.00% <0.00%> (ø)
pyVHDLParser/Blocks/Comment.py 0.00% <0.00%> (ø)
... and 90 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@Paebbels Paebbels self-assigned this Mar 28, 2023
@Paebbels Paebbels marked this pull request as ready for review March 28, 2023 22:05
@Paebbels Paebbels merged commit f780fcd into main Mar 28, 2023
@Paebbels Paebbels deleted the dev branch March 28, 2023 22:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant