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

'class' feature has begun / initial tidying PRs

Thread Next
From:
Paul "LeoNerd" Evans
Date:
June 30, 2022 18:08
Subject:
'class' feature has begun / initial tidying PRs
Message ID:
20220630190816.3ae93806@shy.leonerd.org.uk
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

  https://github.com/leonerd/perl5/tree/feature-class

(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.

  https://github.com/leonerd/perl5/discussions

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
  https://github.com/Perl/perl5/pull/19905

  Create and use a HvHasAUX predicate macro
  https://github.com/Perl/perl5/pull/19908


Thanks all,

-- 
Paul "LeoNerd" Evans

leonerd@leonerd.org.uk      |  https://metacpan.org/author/PEVANS
http://www.leonerd.org.uk/  |  https://www.tindie.com/stores/leonerd/

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About