|
 |
 |
 |
Changelog for re2c-debugsource-4.0.2-1.1.x86_64.rpm :
* Sat Dec 14 2024 Martin Hauke - Update to version 4.0.2 * CMake build system: fixed bug (#515) where language-specific binaries erroneously defaulted to generating code for C. * Playground: address bar now reflects navigation between examples, editors use a more high-contrast CSS theme. * Wed Dec 04 2024 Martin Pluskal - Update to version 4.0.1: * Added missing doc sources to the distribution tarball (#503) * Reworked C/C++ examples to avoid using new configuration aliases until the world has updated to re2c 4.0, made them compatible with C. * A few build system changes: increased CMake minimum required version to 3.15, added missing dependencies on doc sources in Makefile.am. * Fixed typos in docs. * Added a generic technique for describing language backends based on the idea of syntax files (#450). * Added support for new languages: D, Haskell, Java, JavaScript, OCaml, Python, V, Zig. * Added new record API for all languages (enabled with --api record, re2c:api = record) and made it the default API for Haskell and OCaml. * Renamed former “default API” to “simple API”, implemented it for all backends except Haskell and OCaml, and enabled by default API for C, D, Java, JavaScript, Python, V and Zig. * Added new code generation model - recursive functions (enabled with --recursive-functions), primarily to be used for functional languages. * Wed Aug 09 2023 Andrea Manzini - 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 * Thu Apr 28 2022 Dirk Müller - 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`` + ``re2c:computed-gotos:threshold`` is a new alias for ``re2c:cgoto:threshold`` + ``re2c:debug-output`` is a new alias for ``re2c:flags:debug-output`` + ``re2c:encoding:ebcdic`` is a new alias for ``re2c:flags:ecb`` + ``re2c:encoding:utf32`` is a new alias for ``re2c:flags:unicode`` + ``re2c:encoding:ucs2`` is a new alias for ``re2c:flags:wide-chars`` + ``re2c:encoding:utf16`` is a new alias for ``re2c:flags:utf-16`` + ``re2c:encoding:utf8`` is a new alias for ``re2c:flags:utf-8`` + ``re2c:encoding-policy`` is a new alias for ``re2c:flags:encoding-policy`` + ``re2c:empty-class`` is a new alias for ``re2c:flags:empty-class`` + ``re2c:header`` is a new alias for ``re2c:flags:type-header`` + ``re2c:label:prefix`` is a new alias for ``re2c:labelprefix`` + ``re2c:label:yyfill`` is a new alias for ``re2c:label:yyFillLabel`` + ``re2c:label:start`` is a new alias for ``re2c:startlabel`` + ``re2c:nested-ifs`` is a new alias for ``re2c:flags:nested-ifs`` + ``re2c:posix-captures`` is a new alias for ``re2c:flags:posix-captures`` + ``re2c:tags`` is a new alias for ``re2c:flags:tags`` + ``re2c:variable:yych:conversion`` is a new alias for ``re2c:yych:conversion`` + ``re2c:variable:yych:emit`` is a new alias for ``re2c:yych:emit`` + ``re2c:variable:yybm:hex`` is a new alias for ``re2c:yybm:hex`` + ``re2c:unsafe`` is a new alias for ``re2c:flags:unsafe`` - Added directive alias ``conditions:re2c`` for ``types:re2c``. - Multiple small changes in code generation, including some formatting changes that result in large diffs in the generated code: + Do not allocate indices for unused state labels (this results in a change in state enumeration), commits + Do not generate redundant ``YYPEEK`` statements, commit + Do not generate ``YYDEBUG`` statements for unused states labels, commit + C backend: change formatting of switch statements, commit + Go backend: render continuous character ranges in compact form, commit + Mark start and end of included .re files with line directives, commit - A fix to limit maximum allowed NFA and DFA size (to avoid out of memory crashes and stack overflows), - A fix to correctly compute fixed tags in trailing context, commit - A fix to generate non-overlapping names for s-tag and m-tag variables, commit - Infrastructural: added support for CMake presets. - Updated documentation. - Backwards-incompatible changes that are unlikely to affect any users: + Restrict lexical contexts where ``%{`` is recognized as a block start, + Emit an error when repetition lower bound exceeds upper bound, commit * Fri Nov 12 2021 Dominique Leuenberger - BuildRequire python3-base instead of full python3: allow to be slimmer. * Mon Nov 08 2021 Daniel Donisa - 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 `_). 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. * Sun May 09 2021 Dirk Müller - 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 `` to generate build dependency files - Added option ``--fixed-tags `` 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. * Fri Sep 04 2020 Dirk Mueller - 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 * Thu Aug 13 2020 Paolo Stivanin - 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 * Wed Feb 05 2020 Martin Pluskal - 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
|
|
|