Accepting request 930180 from home:danidoni:branches:devel:tools:compiler
- 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
This commit is contained in:
parent
afcac34b31
commit
7539ec3aa4
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:036ee264fafd5423141ebd628890775aa9447a4c4068a6307385d7366fe711f8
|
||||
size 1340740
|
3
re2c-2.2.tar.xz
Normal file
3
re2c-2.2.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0fc45e4130a8a555d68e230d1795de0216dfe99096b61b28e67c86dfd7d86bda
|
||||
size 1460740
|
30
re2c.changes
30
re2c.changes
@ -1,3 +1,33 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 8 11:58:25 UTC 2021 - Daniel Donisa <daniel.donisa@suse.com>
|
||||
|
||||
- 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.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun May 9 17:24:35 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: re2c
|
||||
Version: 2.1.1
|
||||
Version: 2.2
|
||||
Release: 0
|
||||
Summary: Tool for generating C-based recognizers from regular expressions
|
||||
License: SUSE-Public-Domain
|
||||
@ -26,6 +26,7 @@ URL: https://re2c.org/
|
||||
Source: https://github.com/skvadrik/re2c/releases/download/%{version}/%{name}-%{version}.tar.xz
|
||||
BuildRequires: bison
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: python3 >= 3.7
|
||||
|
||||
%description
|
||||
re2c is a tool for writing fast and flexible lexers. Unlike other such
|
||||
|
Loading…
Reference in New Issue
Block a user