develooper Front page | perl.perl5.porters | Postings from June 2022

'class' feature has begun / initial tidying PRs

Thread Next
Paul "LeoNerd" Evans
June 30, 2022 18:08
'class' feature has begun / initial tidying PRs
Message ID:
I've just started the implementation of `use feature 'class'`. I
thought I'd let people know this, and also draw attention to some
tidying-up PRs I've created in the process.

The main body of work is sitting on my tree at

(though I often rebase + force-push it so I don't really suggest anyone
else keeps a long-lived checkout from it)

Of particular note is the set of unit tests for the class system that
I've added in the `t/class/` directory. Those being plain Perl should
be readable to anyone, and give an overview of where we're aiming, as
well as what state we're currently in. There's not a lot there yet but
I hope to expand on it in the coming weeks.

I've also enabled the "Discussions" feature of my github fork, which
I'm using to store "notes to self" about internals design. These are
publicly visible and hopefully I might actually get some discussion
with some other core developers on some of the more tricky ones.

I'll likely post some follow-up messages on particular questions or
thorny issues as time goes on.

Finally, a quick note that I have a couple of PRs, not directly related
to the new "class" feature, but general tidying up of bits of code near
where I'm changing stuff. It'd be useful to get some reviews on these
so I can merge them and continue:

  Rename token types for keywords to add KW_... prefix

  Create and use a HvHasAUX predicate macro

Thanks all,

Paul "LeoNerd" Evans      |  |

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About