JSAbrahams / mamba

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

Add parsing, desugaring and core constructs for imports #59

Closed JSAbrahams closed 5 years ago

JSAbrahams commented 5 years ago

Relevant issues

15

Summary

Add parsing, desugaring and core constructs for imports.

Added Tests

Tests for the new functionality.

Additional Context

Make sure to update the grammar and documentation on imports.

codecov[bot] commented 5 years ago

Codecov Report

Merging #59 into master will increase coverage by 0.04%. The diff coverage is 77.02%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #59      +/-   ##
==========================================
+ Coverage   80.09%   80.14%   +0.04%     
==========================================
  Files          57       57              
  Lines        3788     3888     +100     
==========================================
+ Hits         3034     3116      +82     
- Misses        754      772      +18
Impacted Files Coverage Ξ”
tests/parser/valid/operation.rs 100% <ΓΈ> (ΓΈ) :arrow_up:
tests/parser/invalid/definition.rs 100% <ΓΈ> (ΓΈ) :arrow_up:
src/lexer/token.rs 29.29% <0%> (+1.29%) :arrow_up:
src/parser/ast.rs 23.94% <0%> (-2.12%) :arrow_down:
tests/lexer/lexer.rs 100% <100%> (ΓΈ) :arrow_up:
src/lexer/mod.rs 94.11% <100%> (-0.04%) :arrow_down:
tests/core/class.rs 100% <100%> (ΓΈ) :arrow_up:
src/core/construct.rs 18.55% <100%> (+4.87%) :arrow_up:
tests/parser/valid/class.rs 100% <100%> (ΓΈ) :arrow_up:
src/core/mod.rs 61.78% <7.69%> (-4.89%) :arrow_down:
... and 11 more

Continue to review full report at Codecov.

Legend - Click here to learn more Ξ” = absolute <relative> (impact), ΓΈ = not affected, ? = missing data Powered by Codecov. Last update 027416b...40f151e. Read the comment docs.