diff --git a/re2c-3.1.tar.xz b/re2c-3.1.tar.xz deleted file mode 100644 index 9af6bc9..0000000 --- a/re2c-3.1.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0ac299ad359e3f512b06a99397d025cfff81d3be34464ded0656f8a96676c029 -size 1448624 diff --git a/re2c-4.0.1.tar.xz b/re2c-4.0.1.tar.xz new file mode 100644 index 0000000..4eb2e8a --- /dev/null +++ b/re2c-4.0.1.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7c35d54fdf2c4b5981b80362d1c742aec4d011589673e02f2e9566f7e66c44af +size 1805872 diff --git a/re2c.changes b/re2c.changes index 3ad2807..662c7de 100644 --- a/re2c.changes +++ b/re2c.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Wed De 4 09:23:26 UTC 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 9 14:24:49 UTC 2023 - Andrea Manzini @@ -8,7 +22,6 @@ Wed Aug 9 14:24:49 UTC 2023 - Andrea Manzini 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 ------------------------------------------------------------------- diff --git a/re2c.spec b/re2c.spec index 0474f7d..f1f9c7a 100644 --- a/re2c.spec +++ b/re2c.spec @@ -1,7 +1,7 @@ # # spec file for package re2c # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 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.0.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