jank-lang / jank

The native Clojure dialect hosted on LLVM
https://jank-lang.org
Mozilla Public License 2.0
1.69k stars 50 forks source link

Add dynamic vars, binding support, and exception support #56

Closed jeaye closed 9 months ago

jeaye commented 9 months ago

This also includes a complete re-format of the code, using clang-format. I don't like how it looks, but clang-format can't get any closer to what I want without patching. At least it's consistent.

This fixes #48 and the broken CI jobs, too.

Also, @Samy-33 included some initial support for the lein-jank plugin he's building, followed by some changes to improve jank support on Apple M1 hardware. :heart:

CLAassistant commented 9 months ago

CLA assistant check
All committers have signed the CLA.

codecov-commenter commented 9 months ago

Codecov Report

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

Comparison is base (66424e1) 68.92% compared to head (cf6843d) 59.77%. Report is 143 commits behind head on main.

:exclamation: Current head cf6843d differs from pull request most recent head 79f3f38. Consider uploading reports for the commit 79f3f38 to get more accurate results

Files Patch % Lines
src/cpp/jank/codegen/processor.cpp 73.39% 191 Missing :warning:
src/cpp/jank/evaluate.cpp 66.84% 61 Missing :warning:
src/cpp/jank/analyze/processor.cpp 89.07% 51 Missing :warning:
src/cpp/jank/hash.cpp 55.91% 41 Missing :warning:
src/cpp/jank/analyze/local_frame.cpp 62.50% 36 Missing :warning:
src/cpp/jank/analyze/step/force_boxed.cpp 7.69% 24 Missing :warning:
src/cpp/jank/jit/processor.cpp 56.86% 22 Missing :warning:
include/cpp/jank/codegen/escape.hpp 25.92% 20 Missing :warning:
src/cpp/jank/profile/time.cpp 21.05% 15 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #56 +/- ## ========================================== - Coverage 68.92% 59.77% -9.16% ========================================== Files 42 52 +10 Lines 4184 7343 +3159 ========================================== + Hits 2884 4389 +1505 - Misses 1300 2954 +1654 ```

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