Path to this page:
Subject: CVS commit: pkgsrc/devel/re2c
From: Adam Ciarcinski
Date: 2025-02-17 14:34:43
Message id: 20250217133443.333A7FBE0@cvs.NetBSD.org
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.
Files: