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

snewt / bnf / 115
93%
master: 93%

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

pending completion
115

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%)

2.78 hits per line

Jobs
ID Job ID Ran Files Coverage
1 115.1 06 Nov 2017 01:10AM UTC 0
92.89
Travis Job 115.1
2 115.2 06 Nov 2017 01:10AM UTC 0
92.87
Travis Job 115.2
3 115.3 06 Nov 2017 01:11AM UTC 0
92.87
Travis Job 115.3
Source Files on build 115
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #115
  • 375dc899 on github
  • Prev Build on impl-from-string (#107)
  • Next Build on impl-from-string (#116)
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