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

renatahodovan / grammarinator / 85
84%

Build:
DEFAULT BRANCH: master
Ran 23 Feb 2020 10:31PM UTC
Jobs 1
Files 12
Run time 2s
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
85

push

travis-ci

renatahodovan
Merge unlexer and unparser concepts

Until now, we generated an unlexer and an unparser from the lexer and
parser grammars respectively, mirroring the behaviour of ANTLR's
parser generator mechanism. However, contrary to ANTLR's lexer and
parser classes, our unlexer and unparser don't have any semantic
differences and there is no dependency between them. This means that their
functionalities can be merged into a common class. The name of this
common class is postfixed by 'Generator'.
The patch also adapts the CLI of grammarinator-generate to use
this new single generator class, instead of the previously used
unlexer and unparser pairs.

Further changes:
  * changed name of the base class of generators (Grammarinator -> Generator)
  * removed max_cnt and node_cnt from Generator base class
  * moved the initialization of common fields from generated classes to Generator base class
  * white space changes

777 of 1030 relevant lines covered (75.44%)

0.75 hits per line

Jobs
ID Job ID Ran Files Coverage
5 85.5 (TOXENV=cov) 23 Feb 2020 10:31PM UTC 0
75.44
Travis Job 85.5
Source Files on build 85
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #85
  • 41d626be on github
  • Prev Build on master (#83)
  • Next Build on master (#87)
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