Skip to content

Feat/constants support#7

Merged
chadsec1 merged 43 commits intomainfrom
feat/constants-support
May 7, 2026
Merged

Feat/constants support#7
chadsec1 merged 43 commits intomainfrom
feat/constants-support

Conversation

@chadsec1
Copy link
Copy Markdown
Owner

@chadsec1 chadsec1 commented May 6, 2026

This pull request adds support for constants, and it also seperates the abstract syntax tree nodes defintions from the parser into its own "ast.rs" file(s)

It also includes more unit tests, and significantly improved existing tests. and separated the tests into their own file for maintaniability

And it includes misc bug fixes, mainly error messages in semantic phase, and some edge cases in parser.

chadsec1 added 30 commits April 21, 2026 11:19
@codacy-production
Copy link
Copy Markdown

codacy-production Bot commented May 6, 2026

Not up to standards ⛔

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 1609 complexity · 1278 duplication

Metric Results
Complexity 1609
Duplication 1278

View in Codacy

🔴 Coverage 64.64% diff coverage · -5.58% coverage variation

Metric Results
Coverage variation -5.58% coverage variation (-1.00%)
Diff coverage 64.64% diff coverage

View coverage diff in Codacy

Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (c0a5e11) Report Missing Report Missing Report Missing
Head commit (dfc46de) 2355 (+606) 1984 (+413) 84.25% (-5.58%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#7) 707 457 64.64%

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

1 Codacy didn't receive coverage data for the commit, or there was an error processing the received data. Check your integration for errors and validate that your coverage setup is correct.

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@chadsec1
Copy link
Copy Markdown
Owner Author

chadsec1 commented May 7, 2026

LGTM (talking to myself lol)

@chadsec1 chadsec1 merged commit 5473bee into main May 7, 2026
6 of 7 checks passed
@chadsec1 chadsec1 deleted the feat/constants-support branch May 7, 2026 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant