- update 2.2:
- Added named blocks and block lists in directives.
- Added local blocks ``/*!local:re2c ... */``.
- Added in-block ``!include`` directive.
- Added in-block ``!use`` directive.
- Allowed reusable blocks without ``-r --reusable`` option.
- Allowed customizing the generated code with configurations for directives
``max:re2c``, ``maxnmatch:re2c``, ``stags:re2c``, ``mtags:re2c`` and
``types:re2c`` (see directive descriptions for details).
- Forbid arbitrary text at the end of ``max:re2c`` directive. This may break
backwards compatibility, although it is unlikely that this was used by anyone.
The change was necessary in order to allow customization of the generated code
with configurations.
- Deprecated configurations ``flags:i``, ``flags:no-debug-info`` in favour of
the global options ``-i``, ``--no-debug-info``.
- Reimplemented re2c test runner in Python (thanks to
`Serghei Iakovlev <https://github.com/sergeyklay>`_). Improved integration
with GitHub Actions.
- Changes in the experimental libre2c library: added new algorithms that
construct t-string or extract submatch on all repetitions; added TDFA
benchmark written in Java by Angelo Borsotti.
- Updated documentation.
- Add python >= 3.7 dependency required by new tests.
- Upstream added some tests written in python. The tests failed locally
because the module dataclasses from python >= 3.7 were missing. On OBS
the builds failed due to a timeout when trying to run those python tests.
OBS-URL: https://build.opensuse.org/request/show/930180
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/re2c?expand=0&rev=43
- update to 2.1.1:
- Added missing CMakeLists.txt to release tarballs
- Added GitHub Actions CI for Linux, macOS and Windows and fixed numerous build
issues on those platforms
- Added benchmarks for submatch extraction in lexer generators (ragel vs.
kleenex vs. re2c with TDFA(0), TDFA(1) or sta-DFA algorithms).
+ New CMake options: ``-DRE2C_BUILD_BENCHMARKS``, ``-DRE2C_REGEN_BENCHMARKS``
+ New `json2pgfplot.py
- Added option ``--depfile <filename>`` to generate build dependency files
- Added option ``--fixed-tags <none | all | toplevel>`` and improved fixed-tag
optimization to work with nested tags.
- Added lzip to the distribution tarballs.
- Added registerless-TDFA algorithm in the experimental libre2c library.
- Explicitly disallowed invalid configuration when ``-f``, ``--storable-state``
option is used, but ``YYFILL`` is disabled
- Fixed bug in UTF-8 decode for 4-bytes rune
- Fixed bugs in rare cases of the end-of-input rule ``$`` usage
- Optimized ``--skeleton`` generation time.
- Renamed internal option ``--dfa`` to ``--nested-negative-tags``.
- Updated documentation for end of input handling and submatch extraction.
OBS-URL: https://build.opensuse.org/request/show/891899
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/re2c?expand=0&rev=41
- Update to version 2.0.2:
* Go backend. The new Go code generation backend can be used either
with a --lang go re2c option, or as a standalone re2go binary
* Free-form generic API. Generic API now supports two styles
* Improved reuse mode and start conditions
* Backwards incompatible changes:
+ Generic APIs YYSHIFT/YYSHIFTSTAG/YYSHIFTMTAG have been added
+ Generic APIs YYSTAGPD/YYMTAGPD have been removed
+ The re2c🎏type-header option now treats the header filename
as relative to the output directory
+ Some internal labels have been renamed, in particular the
yyFillLabel prefix has been replaced with yyfill
OBS-URL: https://build.opensuse.org/request/show/826191
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/re2c?expand=0&rev=37
- Update re2c to 1.1.1
From the CHANGELOG:
Version 1.1.1 (2018-08-30)
--------------------------
- Fixed bug #211 re2c '-V' throws 'std::out_of_range' (version to vernum conversion).
Version 1.1 (2018-08-27)
--------------------------
- Replaced Kuklewicz POSIX disambiguation algorithm with Okui algorithm.
- Optimized GOR1 algorithm (computation of tagged epsilon-closure).
- Added option "--conditions" (an alias for "-c" and "--start-conditions").
- Fixed bug #201 Bugs with option: 're2c🎏no-debug-info'.
- Reworked first part of TDFA paper.
OBS-URL: https://build.opensuse.org/request/show/683637
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/re2c?expand=0&rev=30
* Fixed bug #127 "code generation error with wide chars and
bitmaps (omitted 'goto' statement)"
* Added DFA minimization and option '--dfa-minimization
<table | moore>'
* Fixed bug #128 "very slow DFA construction (resulting in a very
large DFA)"
* Fixed bug #132 "test failure on big endian archs with 0.15.3"
- Make building more verbose
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/re2c?expand=0&rev=22