Kipper-Lang / Kipper

The Kipper programming language for Browsers and Node.js 🦊✨ Made at HTL Leonding & JKU Linz
https://kipper-lang.org
GNU General Public License v3.0
26 stars 4 forks source link

AST Restructuring & Mapping Update #507

Closed Luna-Klatzer closed 1 year ago

Luna-Klatzer commented 1 year ago

What type of change does this PR perform?

Summary

Cleaned up internal AST structure and added additional mapping functionality, allowing more seamless mappings between kind and ruleName, and their associated AST class.

Summary of Changes

Does this PR create new warnings?

No.

Detailed Changelog

Not present for website/docs changes

Changed

No linked issues.

codecov[bot] commented 1 year ago

Codecov Report

Attention: 92 lines in your changes are missing coverage. Please review.

Files Coverage Δ
kipper/cli/src/commands/compile.ts 81.25% <ø> (ø)
kipper/cli/src/commands/run.ts 32.50% <ø> (ø)
...nalysis/analyser/err-handler/semantics-asserter.ts 100.00% <100.00%> (ø)
...is/analyser/err-handler/semantics-error-handler.ts 45.45% <100.00%> (ø)
...src/compiler/analysis/analyser/semantic-checker.ts 92.00% <100.00%> (ø)
...ore/src/compiler/analysis/analyser/type-checker.ts 70.81% <ø> (ø)
...e/src/compiler/analysis/analyser/warning-issuer.ts 80.00% <100.00%> (ø)
...c/compiler/analysis/symbol-table/function-scope.ts 90.00% <ø> (ø)
.../src/compiler/analysis/symbol-table/local-scope.ts 95.00% <ø> (ø)
...ipper/core/src/compiler/ast/analysable-ast-node.ts 85.48% <ø> (ø)
... and 130 more

:loudspeaker: Thoughts on this report? Let us know!.