Path to this page:
./
devel/re2c,
Deterministic Finite State Automaton generator
Branch: CURRENT,
Version: 4.4,
Package name: re2c-4.4,
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: 1840.148 KB
Version history: (Expand)
- (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
- (2025-07-15) Package has been reborn
- (2025-07-15) Package deleted from pkgsrc
CVS history: (Expand)
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.
|
| 2024-12-31 18:15:30 by Thomas Klausner | Files touched by this commit (1) |
Log message:
re2c: can't use ninja to build this, hard-code make
|
| 2024-12-31 15:56:28 by Thomas Klausner | Files touched by this commit (2) |
Log message:
re2c: switch to CMake build system
Consistently installs re2java now.
Bump PKGREVISION.
|