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

Added support for compiler behaviour modifying pragma comments #595

Closed ByteWolf-dev closed 1 month ago

ByteWolf-dev commented 1 month ago

What type of change does this PR perform?

Summary

Added ability to process FileScoped Pragmas.

Closes #480

Detailed Changelog

Added

Changed

Does this PR create new warnings?

None.

Linked issues or PRs

github-actions[bot] commented 1 month ago

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
./kipper/web/kipper-standalone.min.js 140.8 KB (+0.2% 🔺) 2.9 s (+0.2% 🔺) 3.5 s (+12.59% 🔺) 6.3 s
./kipper/web/kipper-standalone.js 140.84 KB (+0.2% 🔺) 2.9 s (+0.2% 🔺) 3.2 s (+12.13% 🔺) 6 s
codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 98.05825% with 2 lines in your changes missing coverage. Please review.

Project coverage is 83.66%. Comparing base (94f91f9) to head (fa3f1d1).

Files Patch % Lines
kipper/cli/src/input/input-file.ts 87.50% 1 Missing :warning:
kipper/core/src/compiler/pragma-processor.ts 92.30% 0 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## dev-next #595 +/- ## ============================================ + Coverage 83.35% 83.66% +0.31% ============================================ Files 217 219 +2 Lines 3820 3850 +30 Branches 426 428 +2 ============================================ + Hits 3184 3221 +37 + Misses 453 447 -6 + Partials 183 182 -1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.