[Perl/perl5] 668729: regen/regcomp.pl - totally new regcomp.sym structu...
[email protected] (Yves Orton via perl5-changes) Fri, 24 Jul 2026 02:01:28 -0700
| Newsgroups | perl.perl5.changes |
|---|---|
| Message-ID | <Perl/perl5/push/refs/heads/yves/refactor_regcomp_sym/[email protected]> |
Branch: refs/heads/yves/refactor_regcomp_sym
Home: https://github.com/Perl/perl5
Commit: 668729611fb603d5648dd24abe88273d1019c5e2
https://github.com/Perl/perl5/commit/668729611fb603d5648dd24abe88273d1019c5e2
Author: Yves Orton <[email protected]>
Date: 2026-07-24 (Fri, 24 Jul 2026)
Changed paths:
M MANIFEST
M pod/perldebguts.pod
M regcomp.sym
M regen/regcomp.pl
M regnodes.h
Log Message:
-----------
regen/regcomp.pl - totally new regcomp.sym structure using data driven conf
no more cryptic config file to read. no more confusion.
For years now we have used this cryptic config file to define the regex
engine opcode structure. The format of the data it contains is pretty
cryptic, and it always feels like something might go boom if you change
it.
This patch changes it to be a Perl data structure which is read and can
be written by regcomp.pl. If we want to refactor the config format it
should now be much easier to do so.
I tried to structure things so it wouldn't feel too different from the
old format, but also be much more clear what is right and wrong, and
etc. The patch includes pod and documentation so i wont duplicate that
in this message.
Commit: b9df6e0e80378f2876678bdbc7b4785f2f07b26c
https://github.com/Perl/perl5/commit/b9df6e0e80378f2876678bdbc7b4785f2f07b26c
Author: Yves Orton <[email protected]>
Date: 2026-07-24 (Fri, 24 Jul 2026)
Changed paths:
M pod/perldebguts.pod
M pod/perlreguts.pod
M regen/regcomp.pl
M regnodes.h
Log Message:
-----------
regnodes.h - new low diff format for generated file
Compare: https://github.com/Perl/perl5/compare/7faab453ad74...b9df6e0e8037
To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications