machine
machine copied to clipboard
Feat: Allow underscores in number literals
Allows underscores in literals of numbers, monetaries, portions
Example: 10_000 [EUR/2 25_00] 15/10_000
Codecov Report
Merging #41 (fcf0933) into main (a89d518) will increase coverage by
0.10%. The diff coverage is100.00%.
@@ Coverage Diff @@
## main #41 +/- ##
==========================================
+ Coverage 60.62% 60.73% +0.10%
==========================================
Files 22 22
Lines 5742 5758 +16
==========================================
+ Hits 3481 3497 +16
Misses 2086 2086
Partials 175 175
| Impacted Files | Coverage Δ | |
|---|---|---|
| core/portion.go | 80.95% <100.00%> (+0.62%) |
:arrow_up: |
| script/compiler/compiler.go | 74.36% <100.00%> (+0.14%) |
:arrow_up: |
| script/parser/numscript_lexer.go | 100.00% <100.00%> (ø) |
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.