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

renatahodovan / grammarinator
75%
master: 84%

Build:
Build:
LAST BUILD BRANCH: no-try
DEFAULT BRANCH: master
Repo Added 18 Jul 2017 11:19AM UTC
Files 26
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

LAST BUILD ON BRANCH generator
branch: generator
CHANGE BRANCH
x
Reset
  • generator
  • 17.7
  • 18.10
  • 19.3
  • 23.7
  • actions-upgrade
  • add-conan
  • add-lstnr
  • adjust-parse
  • analyze2
  • antlr-4.13
  • antlr-4.8
  • antlr-cov
  • antlr-param
  • antlr-up
  • antlr-update
  • antlr4.12.0
  • api-doc
  • appveyor
  • arg-parse
  • argret
  • badge
  • bump-fbs-24.12.23
  • bump-rtd-os-u24.04
  • c++-support
  • calc_min_sizes
  • charsets-rework
  • choice
  • choice-simp
  • cite
  • cleanup-cxx-template
  • cli-refactor
  • codec-enc
  • codec-inf
  • concept-select-donor
  • condvar
  • confighpp
  • const-mutate-v2
  • copy
  • copy-resources
  • cpp-build-impr
  • cpp-decoder
  • cpp-indv
  • cpp-readme
  • cpp-weights
  • ctxm
  • custom-weights
  • cxx-build-impr
  • cxx-build-install-abspath
  • cxx-build-subprocess-check
  • cxx-std-conf
  • cxx-template-comp-error-fix
  • dbg-annotate
  • dbg-members
  • decode
  • del-bb
  • din-max-depth
  • din-max-depth-ctx
  • doc
  • drop-py36-actions
  • dry
  • dup-rule
  • empty
  • encode-fix
  • eof-fix
  • esc-lit
  • ex-html-cpp
  • example-ascii
  • fbs-24.3.25
  • fbs-xxh-header-only
  • fbtc-cu
  • filter-immutable
  • fix-alts
  • fix-badge-url
  • fix-chain
  • fix-cool
  • fix-decode
  • fix-duprule
  • fix-exit
  • fix-html-srl
  • fix-lint
  • fix-lint-default-dict
  • fix-model-docs
  • fix-not-set
  • fix-parse-lit
  • fix-parser
  • fix-pop-check
  • fix-pylint
  • fix-pytest
  • fix-rec
  • fix-rule-id
  • fstring-check
  • gen-cool
  • gen-recursion
  • gen-typo
  • generate-name
  • gha-fail-fast-false
  • gha-pypy311
  • gr-lf-cite
  • grammar-test-maintenance
  • ignore-dotantlr
  • img-root
  • immut-fix
  • immut-parse
  • immutable2
  • imp-lit
  • impr-format
  • individual2
  • infra-maintenance
  • init-after
  • inp-form
  • input-mutator-selection
  • input-reference
  • insert-local
  • invalid
  • json-tree-codec
  • label-prefix
  • label-up
  • lf-memo-2
  • lfiles
  • license
  • license-24
  • license-spdx
  • lint
  • linting
  • listener-support2
  • listener-test
  • listeners-enter-exit-cxx
  • literals
  • master
  • master_test
  • members
  • memo
  • merge-tokens
  • model-refact
  • model-test
  • multi-label
  • named-decisions
  • new-nodes-v2
  • new-ops-v5
  • no-cleanup
  • no-eof
  • no-exc
  • no-kwargs
  • no-obj-super
  • no-pass
  • no-self-use
  • no-try
  • no-vars
  • no-yield
  • node20
  • nodekeytype
  • non-gcc-clang-build
  • norm-cool
  • opt-lookup
  • parallel-seed
  • parse-eof
  • parse-err
  • parse-labeled
  • parse-public
  • parse-readme
  • parse-test
  • parser-strict
  • pass-parent2
  • pep8-pyonly
  • pkgdata-metadata
  • pop-mkdir
  • pop-name
  • pop-select
  • population-empty
  • print-fix
  • print-tree
  • proc-named-ids
  • pub-gen
  • py-flat
  • py3.11
  • py35
  • py36
  • py36-tests
  • py37
  • py38
  • py39
  • pylint-fix
  • pylint-fixes
  • pytest-cov-subprocess
  • quant-bt
  • random
  • random-mutators
  • range-error
  • readme-grammarinator-generate-html
  • recurr_rule_id
  • remove-all
  • rename-single
  • repl-impr
  • replquant-maxtokenlimit
  • rm-configh
  • rule-choice
  • rule-dbg
  • rule-fixmes
  • rule-getattr
  • rule-sizes
  • rule_id
  • rulesize-operators
  • save-tree
  • serializer
  • serializer-cu
  • setuptools-fix
  • shields-badges
  • simp-empty
  • simple-dot
  • simplify-gentoolhelper
  • slots
  • sphinx-build-docs-dir-runcmd
  • split-line
  • sss
  • staticdata
  • swap-nodes
  • templating
  • token-limit-review
  • token_counts
  • travis-appv
  • travis-depth-false
  • travis-win-osx
  • tree-print
  • tree-print-fix
  • tree_compare
  • tuple-ids-v2
  • typing-2
  • typo-json
  • uni
  • uniprop
  • unlexerrule-name
  • unrestricted-init
  • update-example
  • xxhash-case

pending completion
84

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

Relevant lines Covered
Build:
Build:
1030 RELEVANT LINES 777 COVERED LINES
0.75 HITS PER LINE
Source Files on generator
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
84 generator 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 c... push 23 Feb 2020 10:17PM UTC renatahodovan travis-ci pending completion  
See All Builds (1062)
  • Repo on GitHub
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

© 2025 Coveralls, Inc