escalier-lang / escalier

A compile-to-JavaScript language with tight TypeScript integration.
https://escalier-lang.github.io/escalier/
MIT License
21 stars 1 forks source link

Parse line comments before statements #684

Closed kevinbarabash closed 1 year ago

kevinbarabash commented 1 year ago

We need to support parsing comments (even if we just ignore them for now) so that we can support the examples on the demo page.

codecov[bot] commented 1 year ago

Codecov Report

Merging #684 (2a58f44) into main (557b558) will increase coverage by 0.02%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #684      +/-   ##
==========================================
+ Coverage   88.83%   88.86%   +0.02%     
==========================================
  Files         109      109              
  Lines       24126    24185      +59     
==========================================
+ Hits        21432    21491      +59     
  Misses       2694     2694              
Files Changed Coverage Δ
crates/escalier_parser/src/token.rs 100.00% <ø> (ø)
crates/escalier_parser/src/expr_parser.rs 97.01% <100.00%> (+0.01%) :arrow_up:
crates/escalier_parser/src/parser.rs 98.06% <100.00%> (+0.11%) :arrow_up:
crates/escalier_parser/src/stmt_parser.rs 98.87% <100.00%> (+0.09%) :arrow_up:

... and 6 files with indirect coverage changes