[Perl/perl5] 0d06e8: regen/regcomp.pl - totally new regcomp.sym structu...

[email protected] (Yves Orton via perl5-changes) Fri, 24 Jul 2026 07:40:46 -0700
Newsgroups perl.perl5.changes
Message-ID <Perl/perl5/push/refs/heads/blead/[email protected]>
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 0d06e8e25136ca20e3cfdbad9c7f38ce31e5b93c
      https://github.com/Perl/perl5/commit/0d06e8e25136ca20e3cfdbad9c7f38ce31e5b93c
  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: 8240972e8a2b9ef79a6c666ec3a93102c94c2e94
      https://github.com/Perl/perl5/commit/8240972e8a2b9ef79a6c666ec3a93102c94c2e94
  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/6c97854f08bc...8240972e8a2b

To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications