JSAbrahams / mamba

🐍 The Mamba programming language, because we care about safety
MIT License
85 stars 3 forks source link

Code cleanup in generate stage #291

Closed JSAbrahams closed 2 years ago

JSAbrahams commented 2 years ago

Split up the logic slightly more so the top-level generate function doesn't do too much besides calling other functions.

Some further code style improvements, such as using if guards where applicable in matches.

The following are no longer core constructs, but instead are generated using other constructs:

codecov[bot] commented 2 years ago

Codecov Report

:exclamation: No coverage uploaded for pull request base (develop@2014071). Click here to learn what that means. The diff coverage is n/a.

@@            Coverage Diff             @@
##             develop     #291   +/-   ##
==========================================
  Coverage           ?   85.46%           
==========================================
  Files              ?       99           
  Lines              ?     9841           
  Branches           ?        0           
==========================================
  Hits               ?     8411           
  Misses             ?     1430           
  Partials           ?        0           

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more