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

renatahodovan / grammarinator
75%
master: 84%

Build:
Build:
LAST BUILD BRANCH: cli-grammar-input
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 charsets-rework
branch: charsets-rework
CHANGE BRANCH
x
Reset
  • charsets-rework
  • 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
  • choice
  • choice-simp
  • cite
  • cleanup-cxx-template
  • cli-grammar-input
  • 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
  • generator
  • 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-progress
  • 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
  • test-skip
  • 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
140

push

travis-ci

akosthekiss
Rework the processing of charsets

Fixed inverted/negated/not-sets to use "dot" as the base charset
(always subtracted the specified charset from the set of printable
unicode characters previously, even if "dot" was the set of
printable ASCII characters). This required the move of the
computation of the charsets from runtime to processing-time. Which
enabled the simplification of the internal graph representation of
charsets and token/string literals. The codegen template was
adapted to the changed internal graph representation.

Also realized that Generator base class was still in charge of
randomly selecting characters from charsets. However, random
aspects (alternatives, quantifiers) are the responsibilities of
models. So, extended the models API with a method to deal with
charsets and moved the existing functionality from Generator to
DefaultModel. The codegen template was adapted to use the new API.

822 of 1097 relevant lines covered (74.93%)

0.75 hits per line

Relevant lines Covered
Build:
Build:
1097 RELEVANT LINES 822 COVERED LINES
0.75 HITS PER LINE
Source Files on charsets-rework
  • Tree
  • List 17
  • 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
140 charsets-rework Rework the processing of charsets Fixed inverted/negated/not-sets to use "dot" as the base charset (always subtracted the specified charset from the set of printable unicode characters previously, even if "dot" was the set of printable ASCII char... push 18 Aug 2020 10:33AM UTC akosthekiss travis-ci pending completion  
See All Builds (1069)
  • 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