• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

moonbitlang / core / 8355
87%

Build:
DEFAULT BRANCH: main
Ran 17 Nov 2026 02:35PM UTC
Jobs 1
Files 696
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

17 Nov 2026 02:32PM UTC coverage: 88.278% (+0.004%) from 88.274%
8355

push

github

bobzhang
refactor(json): lex punctuation where the parser expects it

`lex_after_array_value`, `lex_after_property_name`,
`lex_after_object_value`, `lex_property_name` and `lex_property_name2`
each had one caller, and returned a `Token` that the caller matched on
again, with `abort("unreachable")` for the cases it could not return.
`parse_array` and `parse_object` now run the `lexscan` themselves, and
its cases `continue` or `break` the loop directly. The `Comma` and
`RBrace` tokens are no longer needed.

The cut-short case in `lex_value` is split into one case per shape, each
with a comment, and the number patterns are written as integer, fraction
and exponent joined by `+`. The DFA transitions are unchanged; only the
case numbering differs in the generated code.

Every input of length 0-5 over the three differential alphabets parses
to the same value or error as before, on native, js and wasm-gc.

21 of 22 new or added lines in 2 files covered. (95.45%)

25674 of 29083 relevant lines covered (88.28%)

774248.67 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
97.56
6.07% json/parse.mbt
Jobs
ID Job ID Ran Files Coverage
1 8355.1 17 Nov 2026 02:35PM UTC 696
88.28
GitHub Action Run
Source Files on build 8355
  • Tree
  • List 696
  • Changed 4
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • f3232f9e on github
  • Prev Build on main (#8354)
  • Next Build on main (#8356)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc