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

snewt / bnf / 115 / 1
93%
master: 93%

Build:
Build:
LAST BUILD BRANCH: 0.2.2
DEFAULT BRANCH: master
Ran 06 Nov 2017 01:10AM UTC
Files 9
Run time 0s
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

06 Nov 2017 12:58AM UTC coverage: 92.892% (-0.6%) from 93.537%
115.1

push

travis-ci

snewt
Add logic to handle incomplete input.

Some of the logic implemented in order to validate input and
provide appropriate errors resulted in reverting some of the
parser revisions captured in an earlier commit. Lookaheads
are leaned on in order to verify the end of an expression.

If the parser sees `|` that isn't followed by another expression
we can provide an error.

If the parser sees the lhs pattern for a production it can recognize
it rather than attempting to parse it as simply another nonterminal.

Also, the tests that fail on what we're calling "incomplete" input
correspond to a nom error rather than a nom incomplete. If our
parser does its job right the user should never see an incomplete
which would indicate we consumed something we expect later rather than
just the absense of an expected specific token.

575 of 619 relevant lines covered (92.89%)

0.93 hits per line

Source Files on job 115.1
  • Tree
  • List 0
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 115
  • Travis Job 115.1
  • 375dc899 on github
  • Prev Job for on impl-from-string (#107.1)
  • Next Job for on impl-from-string (#116.3)
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