SHA256
6
0
forked from pool/re2c

7 Commits

Author SHA256 Message Date
a779cc4768 Accepting request 1252748 from devel:tools:compiler
- 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.

OBS-URL: https://build.opensuse.org/request/show/1252748
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/re2c?expand=0&rev=46
2025-03-15 15:14:55 +00:00
Martin Pluskal
cc1abdf222 - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/re2c?expand=0&rev=54
2025-03-13 12:19:39 +00:00
587b13c8a8 Accepting request 1231356 from devel:tools:compiler
update to version 4.0.2

OBS-URL: https://build.opensuse.org/request/show/1231356
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/re2c?expand=0&rev=45
2024-12-17 18:22:09 +00:00
868c40c2ac fix broken date in change log
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/re2c?expand=0&rev=52
2024-12-16 09:32:45 +00:00
bdec7e6b86 Accepting request 1231005 from home:mnhauke
- 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.

OBS-URL: https://build.opensuse.org/request/show/1231005
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/re2c?expand=0&rev=51
2024-12-16 06:58:24 +00:00
5023dd111b Accepting request 1228247 from devel:tools:compiler
Wed De  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.

OBS-URL: https://build.opensuse.org/request/show/1228247
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/re2c?expand=0&rev=44
2024-12-05 16:05:08 +00:00
Martin Pluskal
8f7be9960f - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/re2c?expand=0&rev=49
2024-12-04 09:36:39 +00:00
4 changed files with 52 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.1.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,35 @@
-------------------------------------------------------------------
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 +40,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
#
# 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.1
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,25 @@ terms of size and speed.
%{_bindir}/re2c
%{_bindir}/re2go
%{_bindir}/re2rust
%{_bindir}/re2d
%{_bindir}/re2hs
%{_bindir}/re2js
%{_bindir}/re2ocaml
%{_bindir}/re2py
%{_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/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