Preliminary version of new regex matcher for gawk now available

Liste des GroupesRevenir à cl awk 
Sujet : Preliminary version of new regex matcher for gawk now available
De : arnold (at) *nospam* skeeve.com (Aharon Robbins)
Groupes : comp.lang.awk
Date : 25. Jul 2024, 10:44:30
Autres entêtes
Organisation : Arnold Robbins
Message-ID : <66a21e7e$0$710$14726298@news.sunsite.dk>
User-Agent : trn 4.0-test77 (Sep 1, 2010)
Hi All.

I've been working with Mike Haertel (the original author of GNU grep)
for a number of months now.  He is writing a new regexp matcher for
use in gawk (and other places, as people desire).

The matcher is avalable on Github: https://github.com/mikehaertel/minrx.
I have created a branch in the gawk repo that uses it: feature/minrx.

MinRX is currently written in C++20. Mike will eventually rewrite it
in C for portability.  For the moment, you'll need to use gcc / g++
to build the branch.  I haven't tried to mess with clang / clang++.

The test suite passes completely.

The new matcher is the default, so that it will be exercised.  The old
matchers are still available. To use them, set GAWK_GNU_MATCHERS in
the environment.   I will NOT make a formal release with MinRX as long
as MinRX is still in C++.

For now, the only way to access the code is via Git:

git clone https://git.savannah.gnu.org/r/gawk.git
cd gawk
git checkout feature/minrx
./bootstrap.sh && ./configure && make -j && make check

If you use gawk, please try this branch out.

Questions, comments, and *bug reports* are welcome.

Thanks,

Arnold
--
Aharon (Arnold) Robbins arnold AT skeeve DOT com

Date Sujet#  Auteur
25 Jul 24 * Preliminary version of new regex matcher for gawk now available6Aharon Robbins
25 Jul 24 `* Re: Preliminary version of new regex matcher for gawk now available5Janis Papanagnou
26 Jul 24  +* Re: Preliminary version of new regex matcher for gawk now available3Aharon Robbins
27 Jul 24  i`* C++20??? (Was: Preliminary version of new regex matcher for gawk now available)2Kenny McCormack
10 Aug 24  i `- Re: C++20??? (Was: Preliminary version of new regex matcher for gawk now available)1Kenny McCormack
26 Jul 24  `- Re: Preliminary version of new regex matcher for gawk now available1Ben Bacarisse

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal