Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add PyGerber 3 VM prototype #254

Open
wants to merge 101 commits into
base: main
Choose a base branch
from

Add PyGerber 3 Parser implementation (#256)

4e07559
Select commit
Loading
Failed to load commit list.
Open

Add PyGerber 3 VM prototype #254

Add PyGerber 3 Parser implementation (#256)
4e07559
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch succeeded Aug 26, 2024 in 1s

93.77% of diff hit (target 84.58%)

View this Pull Request on Codecov

93.77% of diff hit (target 84.58%)

Annotations

Check warning on line 535 in src/pygerber/gerberx3/ast/ast_visitor.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/pygerber/gerberx3/ast/ast_visitor.py#L535

Added line #L535 was not covered by tests

Check warning on line 654 in src/pygerber/gerberx3/ast/ast_visitor.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/pygerber/gerberx3/ast/ast_visitor.py#L652-L654

Added lines #L652 - L654 were not covered by tests

Check warning on line 666 in src/pygerber/gerberx3/ast/ast_visitor.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/pygerber/gerberx3/ast/ast_visitor.py#L666

Added line #L666 was not covered by tests

Check warning on line 28 in src/pygerber/gerberx3/ast/errors.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/pygerber/gerberx3/ast/errors.py#L28

Added line #L28 was not covered by tests

Check warning on line 48 in src/pygerber/gerberx3/ast/errors.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/pygerber/gerberx3/ast/errors.py#L47-L48

Added lines #L47 - L48 were not covered by tests

Check warning on line 58 in src/pygerber/gerberx3/ast/errors.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/pygerber/gerberx3/ast/errors.py#L57-L58

Added lines #L57 - L58 were not covered by tests

Check warning on line 91 in src/pygerber/gerberx3/ast/expression_eval_visitor.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/pygerber/gerberx3/ast/expression_eval_visitor.py#L90-L91

Added lines #L90 - L91 were not covered by tests

Check warning on line 96 in src/pygerber/gerberx3/ast/expression_eval_visitor.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/pygerber/gerberx3/ast/expression_eval_visitor.py#L95-L96

Added lines #L95 - L96 were not covered by tests

Check warning on line 32 in src/pygerber/gerberx3/ast/nodes/aperture/AB.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/pygerber/gerberx3/ast/nodes/aperture/AB.py#L32

Added line #L32 was not covered by tests

Check warning on line 32 in src/pygerber/gerberx3/ast/nodes/aperture/AM.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/pygerber/gerberx3/ast/nodes/aperture/AM.py#L32

Added line #L32 was not covered by tests

Check warning on line 32 in src/pygerber/gerberx3/ast/nodes/aperture/SR.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/pygerber/gerberx3/ast/nodes/aperture/SR.py#L32

Added line #L32 was not covered by tests

Check warning on line 24 in src/pygerber/gerberx3/ast/nodes/attribute/TA.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/pygerber/gerberx3/ast/nodes/attribute/TA.py#L24

Added line #L24 was not covered by tests

Check warning on line 36 in src/pygerber/gerberx3/ast/nodes/attribute/TA.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/pygerber/gerberx3/ast/nodes/attribute/TA.py#L36

Added line #L36 was not covered by tests

Check warning on line 106 in src/pygerber/gerberx3/ast/nodes/attribute/TA.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/pygerber/gerberx3/ast/nodes/attribute/TA.py#L106

Added line #L106 was not covered by tests

Check warning on line 27 in src/pygerber/gerberx3/ast/nodes/attribute/TF.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/pygerber/gerberx3/ast/nodes/attribute/TF.py#L27

Added line #L27 was not covered by tests

Check warning on line 39 in src/pygerber/gerberx3/ast/nodes/attribute/TF.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/pygerber/gerberx3/ast/nodes/attribute/TF.py#L39

Added line #L39 was not covered by tests

Check warning on line 61 in src/pygerber/gerberx3/ast/nodes/attribute/TF.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/pygerber/gerberx3/ast/nodes/attribute/TF.py#L61

Added line #L61 was not covered by tests

Check warning on line 104 in src/pygerber/gerberx3/ast/nodes/attribute/TF.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/pygerber/gerberx3/ast/nodes/attribute/TF.py#L104

Added line #L104 was not covered by tests

Check warning on line 125 in src/pygerber/gerberx3/ast/nodes/attribute/TF.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/pygerber/gerberx3/ast/nodes/attribute/TF.py#L125

Added line #L125 was not covered by tests

Check warning on line 146 in src/pygerber/gerberx3/ast/nodes/attribute/TF.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/pygerber/gerberx3/ast/nodes/attribute/TF.py#L146

Added line #L146 was not covered by tests

Check warning on line 169 in src/pygerber/gerberx3/ast/nodes/attribute/TF.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/pygerber/gerberx3/ast/nodes/attribute/TF.py#L169

Added line #L169 was not covered by tests

Check warning on line 192 in src/pygerber/gerberx3/ast/nodes/attribute/TF.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/pygerber/gerberx3/ast/nodes/attribute/TF.py#L192

Added line #L192 was not covered by tests

Check warning on line 216 in src/pygerber/gerberx3/ast/nodes/attribute/TF.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/pygerber/gerberx3/ast/nodes/attribute/TF.py#L216

Added line #L216 was not covered by tests

Check warning on line 225 in src/pygerber/gerberx3/ast/nodes/attribute/TF.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/pygerber/gerberx3/ast/nodes/attribute/TF.py#L225

Added line #L225 was not covered by tests

Check warning on line 25 in src/pygerber/gerberx3/ast/nodes/attribute/TO.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/pygerber/gerberx3/ast/nodes/attribute/TO.py#L25

Added line #L25 was not covered by tests