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

rm-hull / jasengo / 19395107662
81%

Build:
DEFAULT BRANCH: main
Ran 15 Nov 2025 08:24PM UTC
Jobs 1
Files 6
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

15 Nov 2025 08:22PM UTC coverage: 75.452% (-6.8%) from 82.254%
19395107662

push

github

rm-hull
refactor: Improve parser result and combinator API

This commit improves API consistency and usability, particularly
around error handling and sequencing heterogeneous parsers.

*   Renamed the error field in `parser.Result` from `Err` to `Error`.
*   Added `Result.IsSuccess()` method and `State.Remaining()`.
*   Implemented generic `Sequence(...)` and `ToAny[T]` combinators
    for cleaner handling of heterogeneous parser chains.
*   Added `Letter()` parser for matching alphabetical runes.
*   Updated README examples to reflect new field access (`.Value`,
    `.Error`) and direct parser invocation syntax.

32 of 73 new or added lines in 5 files covered. (43.84%)

292 of 387 relevant lines covered (75.45%)

0.89 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
90.32
-4.59% parser/basic.go
3
62.96
-7.87% parser/result.go
3
90.91
-9.09% parser/state.go
32
70.2
-6.96% parser/combinators.go
Jobs
ID Job ID Ran Files Coverage
1 19395107662.1 15 Nov 2025 08:24PM UTC 6
75.45
GitHub Action Run
Source Files on build 19395107662
  • Tree
  • List 6
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 15793b27 on github
  • Prev Build on main (#19394832570)
  • Next Build on main (#19395323687)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc