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

anachronauts / jeff65 / 211
93%
master: 88%

Build:
Build:
LAST BUILD BRANCH: pass-schedule
DEFAULT BRANCH: master
Ran 02 Aug 2018 07:38AM UTC
Jobs 1
Files 23
Run time 34s
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
211

push

travis-ci

jdpage
Replace ANTLR4 with homegrown LALR parser generator

This should be the last time I replace the parser.

Besides the change in the grammar, lexer has been rewritten (again) to
be stateless. This has been accomplished using "lexer modes", which are
a thing I saw mentioned in an Oil Shell blog post, and then came up with
my own implementation.

Also, the old "AstBuilder" class, which turned the ANTLR4 parse tree
into an AST, has been replaced with a "Simplify" pass, which turns the
output of the parser into the same AST format. One nice side-effect of
this is that, where if the AstBuilder didn't understand something, it
was left out of the tree entirely, the Simplify pass will pass it
through unchanged.

Of course, we lost the dependency on ANTLR4 -- we no longer require the
runtime, nor is there a separate build step after modifying the grammar.

613 of 697 branches covered (87.95%)

Branch coverage included in aggregate %.

1351 of 1527 relevant lines covered (88.47%)

0.88 hits per line

Jobs
ID Job ID Ran Files Coverage
1 211.1 02 Aug 2018 07:38AM UTC 0
88.31
Travis Job 211.1
Source Files on build 211
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #211
  • df2ef6db on github
  • Next Build on pgen (#213)
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