SHA256
7
0
forked from pool/re2c

Factory #1

Merged
dgarcia merged 9 commits from factory into main 2025-10-08 12:57:30 +02:00
4 changed files with 83 additions and 8 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0ac299ad359e3f512b06a99397d025cfff81d3be34464ded0656f8a96676c029
size 1448624

BIN
re2c-4.3.tar.xz LFS Normal file

Binary file not shown.

View File

@@ -1,3 +1,64 @@
-------------------------------------------------------------------
Sun Sep 14 19:41:18 UTC 2025 - Martin Hauke <mardnh@gmx.de>
- Update to version 4.3
* Added warning -Wdeprecated-eof-rule, this will be turned to
error in the future.
* Improved re2c performance (made determinization faster, #544).
-------------------------------------------------------------------
Wed Apr 23 18:06:19 UTC 2025 - Martin Hauke <mardnh@gmx.de>
- Update to version 4.2
* Added Swift backend
* Added options:
+ --lang swift
+ --computed-gotos-relative
* Added configurations:
+ re2c:cgoto:relative, re2c:computed-gotos:relative
+ re2c:yyfn:throw
* Added syntax file code templates:
+ code:cgoto
+ code:cgoto_data
+ code:yytarget_filter
+ code:type_yyctable
* Added syntax file conditionals:
+ .cgoto.relative
+ .yyfn.throw
* Added some C++ benchmarks without submatch extraction.
-------------------------------------------------------------------
Thu Mar 13 12:09:16 UTC 2025 - Martin Pluskal <mpluskal@suse.com>
- Update to version 4.1:
* This release adds actions, a few backend-specific improvements
in code generation and a bunch of bug fixes.
* Benchmark code has been reworked in preparation to add
multi-language benchmarks in the future.
-------------------------------------------------------------------
Sat Dec 14 16:15:14 UTC 2024 - Martin Hauke <mardnh@gmx.de>
- 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 4 09:23:26 UTC 2024 - Martin Pluskal <mpluskal@suse.com>
- 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 9 14:24:49 UTC 2023 - Andrea Manzini <andrea.manzini@suse.com>
@@ -8,7 +69,6 @@ Wed Aug 9 14:24:49 UTC 2023 - Andrea Manzini <andrea.manzini@suse.com>
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
-------------------------------------------------------------------

View File

@@ -1,7 +1,7 @@
#
# spec file for package re2c
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,11 +17,10 @@
Name: re2c
Version: 3.1
Version: 4.3
Release: 0
Summary: Tool for generating C-based recognizers from regular expressions
License: SUSE-Public-Domain
Group: Development/Libraries/C and C++
URL: https://re2c.org/
Source: https://github.com/skvadrik/re2c/releases/download/%{version}/%{name}-%{version}.tar.xz
BuildRequires: bison
@@ -63,11 +62,27 @@ terms of size and speed.
%{_bindir}/re2c
%{_bindir}/re2go
%{_bindir}/re2rust
%{_bindir}/re2d
%{_bindir}/re2hs
%{_bindir}/re2js
%{_bindir}/re2ocaml
%{_bindir}/re2py
%{_bindir}/re2swift
%{_bindir}/re2v
%{_bindir}/re2zig
%{_mandir}/man1/re2c.1%{?ext_man}
%{_mandir}/man1/re2go.1%{?ext_man}
%{_mandir}/man1/re2rust.1%{?ext_man}
%{_mandir}/man1/re2d.1%{?ext_man}
%{_mandir}/man1/re2hs.1%{?ext_man}
%{_mandir}/man1/re2js.1%{?ext_man}
%{_mandir}/man1/re2ocaml.1%{?ext_man}
%{_mandir}/man1/re2py.1%{?ext_man}
%{_mandir}/man1/re2swift.1%{?ext_man}
%{_mandir}/man1/re2v.1%{?ext_man}
%{_mandir}/man1/re2zig.1%{?ext_man}
%dir %{_datadir}/re2c
%dir %{_datadir}/re2c/stdlib
%{_datadir}/re2c/stdlib/unicode_categories.re
%{_datadir}/re2c/stdlib/*
%changelog