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

Implemented JavaScript-like bitwise operators #577

Closed lorenzholzbauer closed 1 month ago

lorenzholzbauer commented 1 month ago

What type of change does this PR perform?

Summary

This PR adds support for bitwise operations (&, |, ^, ~, <<, >>, >>>) in the Kipper programming language.

Detailed Changelog

Added

Does this PR create new warnings?

None.

Linked issues or PRs

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 86.33540% with 22 lines in your changes missing coverage. Please review.

Project coverage is 83.35%. Comparing base (f8c6e08) to head (de11426).

Files Patch % Lines
...twise-shift-expression/bitwise-shift-expression.ts 82.75% 3 Missing and 2 partials :warning:
...n/bitwise-and-expression/bitwise-and-expression.ts 82.60% 3 Missing and 1 partial :warning:
...ion/bitwise-or-expression/bitwise-or-expression.ts 82.60% 3 Missing and 1 partial :warning:
...n/bitwise-xor-expression/bitwise-xor-expression.ts 82.60% 3 Missing and 1 partial :warning:
...ore/src/compiler/analysis/analyser/type-checker.ts 66.66% 1 Missing and 1 partial :warning:
kipper/core/src/errors.ts 50.00% 1 Missing and 1 partial :warning:
...y-expression/operator-modified-unary-expression.ts 75.00% 0 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## dev-next #577 +/- ## ============================================ + Coverage 83.22% 83.35% +0.12% ============================================ Files 207 217 +10 Lines 3667 3820 +153 Branches 418 426 +8 ============================================ + Hits 3052 3184 +132 - Misses 439 453 +14 - Partials 176 183 +7 ```

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

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.04 KB (0%) 2.9 s (0%) 3.5 s (-11.12% 🔽) 6.3 s
./kipper/web/kipper-standalone.js 140.09 KB (0%) 2.9 s (0%) 4.3 s (+25.89% 🔺) 7.1 s