Revisions of re2c
buildservice-autocommit
accepted
request 1103204
from
Peter Simons (psimons)
(revision 48)
baserev update by copy to link target
Peter Simons (psimons)
accepted
request 1103174
from
Andrea Manzini (amanzini)
(revision 47)
- Update to 3.1: * new options --leftmost-captures option and re2c:leftmost-captures on capturing groups * new syntax (! ...) for non-capturing groups * It is also possible to flip defaults with --invert-captures option or re2c:invert_captures configuration, so that (...) is a capturing group and (! ...) is a non-capturing one * TDFA paper and removal of experimental algorithms * internal codebase , build system and CI improvements see details at https://re2c.org/releases/release_notes.html#release-3-1
buildservice-autocommit
accepted
request 973855
from
Peter Simons (psimons)
(revision 46)
baserev update by copy to link target
Peter Simons (psimons)
accepted
request 973759
from
Dirk Mueller (dirkmueller)
(revision 45)
- update to 3.0: - Added code generation backend for Rust: - Added options: + ``--loop-switch`` + ``--no-unsafe`` - Added configurations; + ``re2c:label:yyloop`` + ``re2c:unsafe`` - Renamed options to use common naming scheme. The old names are supported as aliases, so the change does not break existing code. Documentation has been updated to use new names. + ``--api`` is a new alias for ``--input`` + ``--ebcdic`` is a new alias for ``--ecb`` + ``--ucs2`` is a new alias for ``--wide-chars`` + ``--utf32`` is a new alias for ``--unicode`` + ``--utf16`` is a new alias for ``--utf-16`` + ``--utf8`` is a new alias for ``--utf-8`` + ``--header`` is a new alias for ``--type-header`` - Renamed configurations to use common naming scheme and support proper scoping under subcategories such as ``:define``, ``:label``, ``:variable``, etc. The old names are supported as aliases, so the change does not break existing code. Documentation has been updated to use new names. + ``re2c:api`` is a new alias for ``re2c:flags:input`` + ``re2c:bit-vectors`` is a new alias for ``re2c:flags:bit-vectors`` + ``re2c:case-insensitive`` is a new alias for ``re2c:flags:case-insensitive`` + ``re2c:case-inverted`` is a new alias for ``re2c:flags:case-inverted`` + ``re2c:case-ranges`` is a new alias for ``re2c:flags:case-ranges`` + ``re2c:cond:prefix`` is a new alias for ``re2c:condprefix`` + ``re2c:cond:enumprefix`` is a new alias for ``re2c:condenumprefix`` + ``re2c:computed-gotos`` is a new alias for ``re2c:flags:computed-gotos``
Peter Simons (psimons)
accepted
request 931157
from
Dominique Leuenberger (dimstar)
(revision 44)
- BuildRequire python3-base instead of full python3: allow to be slimmer.
Peter Simons (psimons)
accepted
request 930180
from
Daniel Donisa (danidoni)
(revision 43)
- 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.
buildservice-autocommit
accepted
request 891987
from
Peter Simons (psimons)
(revision 42)
baserev update by copy to link target
Peter Simons (psimons)
accepted
request 891899
from
Dirk Mueller (dirkmueller)
(revision 41)
- 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.
buildservice-autocommit
accepted
request 832495
from
Peter Simons (psimons)
(revision 40)
baserev update by copy to link target
Peter Simons (psimons)
accepted
request 832388
from
Dirk Mueller (dirkmueller)
(revision 39)
- update to 2.0.3: - Fix issues when building re2c as a CMake subproject - Final corrections in the SIMPA article "RE2C: A lexer generator based on lookahead-TDFA", https://doi.org/10.1016/j.simpa.2020.100027
buildservice-autocommit
accepted
request 826240
from
Peter Simons (psimons)
(revision 38)
baserev update by copy to link target
Peter Simons (psimons)
accepted
request 826191
from
Paolo Stivanin (polslinux)
(revision 37)
- 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:flags: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
buildservice-autocommit
accepted
request 770165
from
Martin Pluskal (pluskalm)
(revision 36)
baserev update by copy to link target
Martin Pluskal (pluskalm)
committed
(revision 35)
- Update to version 1.3: * Added option: ``--stadfa``. * Added warning: ``-Wsentinel-in-midrule``. * Added generic API primitives: + ``YYSTAGPD`` + ``YYMTAGPD`` * Added configurations: + ``re2c:sentinel = 0;`` + ``re2c:define:YYSTAGPD = "YYSTAGPD";`` + ``re2c:define:YYMTAGPD = "YYMTAGPD";`` * Worked on reproducible builds
buildservice-autocommit
accepted
request 723338
from
Martin Pluskal (pluskalm)
(revision 34)
baserev update by copy to link target
Martin Pluskal (pluskalm)
committed
(revision 33)
- Update to version 1.2.1: * Lots of changes, see provided CHANGELOG - Drop no longer needed re2c-nogenerationdatedefault.patch - Enable profile guided optimization during build
buildservice-autocommit
accepted
request 683726
from
Tomáš Chvátal (scarabeus_iv)
(revision 32)
baserev update by copy to link target
Tomáš Chvátal (scarabeus_iv)
committed
(revision 31)
* Fixed bug #211 re2c '-V' throws 'std::out_of_range' (version to vernum conversion). * 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:flags:no-debug-info'. * Reworked first part of TDFA paper.
Tomáš Chvátal (scarabeus_iv)
accepted
request 683637
from
Chris Coutinho (cbcoutinho)
(revision 30)
- 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:flags:no-debug-info'. - Reworked first part of TDFA paper.
buildservice-autocommit
accepted
request 587463
from
Martin Pluskal (pluskalm)
(revision 29)
baserev update by copy to link target
Displaying revisions 1 - 20 of 48