Path to this page:
./
devel/re2c,
Deterministic Finite State Automaton generator
Branch: CURRENT,
Version: 4.5.1,
Package name: re2c-4.5.1,
Maintainer: pkgsrc-usersre2c is a preprocessor that generates C-based recognizers from regular
expressions. The input to re2c consists of C/C++ source interleaved
with comments of the form /*!re2c ... */ which contain scanner
specifications. In the output these comments are replaced with code
that, when executed, will find the next input token and then execute
some user-supplied token-specific code.
Required to build:[
pkgtools/cwrappers]
Master sites:
Filesize: 1880.902 KB
Version history: (Expand)
- (2026-03-29) Updated to version: re2c-4.5.1
- (2026-03-26) Updated to version: re2c-4.5
- (2025-12-21) Updated to version: re2c-4.4
- (2025-12-02) Updated to version: re2c-4.3.1
- (2025-10-24) Package has been reborn
- (2025-10-24) Package deleted from pkgsrc
CVS history: (Expand)
2026-03-29 19:33:43 by Thomas Klausner | Files touched by this commit (3) |  |
Log message:
re2c: update to 4.5.1.
4.5.1 (2026-03-27)
~~~~~~~~~~~~~~~~~~
- Added missing include files to the distribution
(`#573 <https://github.com/skvadrik/re2c/issues/573>`_).
- Updated the documentation to mention the new include files.
|
2026-03-26 12:24:40 by Adam Ciarcinski | Files touched by this commit (2) |  |
Log message:
re2c: updated to 4.5
4.5 (2026-03-23)
- Migrated include files to Unicode 17.0.0 standard.
- Added Unicode include files:
+ `include/unicode_blocks.re \
<https://github.com/skvadrik/re2c/blob/master/include/unicode_blocks.re>`_
+ `include/unicode_properties.re \
<https://github.com/skvadrik/re2c/blob/master/include/unicode_properties.re>`_
- Implemented Unicode case mapping for case-insensitive string literals
- Fixed `571 <https://github.com/skvadrik/re2c/issues/571>`_
(segmentation fault on erroneous input during determinization).
- Updated paper `A closer look at TDFA <https://arxiv.org/abs/2206.01398>`_
(applied corrections by Lisa Felidae).
|
2025-12-21 18:28:17 by Thomas Klausner | Files touched by this commit (2) |  |
Log message:
re2c: update to 4.4.
4.4 (2025-12-20)
~~~~~~~~~~~~~~~~
- Added generalized end-of-input symbol ``$``
(`#525 <https://github.com/skvadrik/re2c/issues/525>`_).
This change may break old code with conflicitng end-of-input rules,
as they now have position-based precedence. The broken cases were
reported with ``-Wdeprecated-eof-rule`` since version 4.3.
|
2025-12-02 08:10:42 by Adam Ciarcinski | Files touched by this commit (2) |  |
Log message:
re2c: updated to 4.3.1
4.3.1 (2025-12-01)
- Fixed bugs:
(allow conditions that have no rules except for default rule)
(use unsigned character type in C/C++ examples)
(fix broken end of input rule $ with captures)
|
2025-06-30 17:39:31 by Adam Ciarcinski | Files touched by this commit (2) |  |
Log message:
re2c: updated to 4.3
4.3
Added warning -Wdeprecated-eof-rule, this will be turned to error in the future
Improved re2c performance
|
| 2025-05-01 14:37:08 by Thomas Klausner | Files touched by this commit (9) |
Log message:
*: use CMAKE_GENERATORS_INCOMPATIBLE
|
2025-04-23 17:05:44 by Adam Ciarcinski | Files touched by this commit (3) |  |
Log message:
re2c: updated to 4.2
4.2 (2025-04-23)
- 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.
|
2025-02-17 14:34:43 by Adam Ciarcinski | Files touched by this commit (2) |  |
Log message:
re2c: updated to 4.1
4.1 (2025-02-16)
Added new syntax for actions
Added entry, pre-rule and post-rule actions
!entry action binds code at the start of the current finite state machine
!pre_rule action prepernds code to semantic actions of all rules in the current \
block or condiiton.
!post_rule action appernds code to semantic actions of all rules in the current \
block or condiiton.
Added syntax file option special_escapes that describes allowed escape sequences
Fixed bugs:
(allow using lookahead operator with captures).
(integer overflow caused a very long loop when generating tag names).
(segfault on !use directive in a block with conditions).
(regression with bit-vector optimization).
(failure to recognize escaped double quotes in character literals).
OCaml backend now uses unsafe_get instead of get as the default YYPEEK \
implementation.
Zig backend now uses const for yych declaration in --recursive-functions mode.
Benchmarks (C/C++):
Reimplemented benchmarks using google-benchmark library.
Added simple variants without buffer refill.
Removed Kleenex benchmarks.
Removed deprecated TDFA(0) and StaDFA algorithms.
Updated benchmark results.
Build system:
Migrated to Bazel 8 using bzlmod.
|