p5h / p5summit-2019

Perl 5 Summit
0 stars 0 forks source link

Core changes to support MOP #22

Open toddr opened 4 years ago

atoomic commented 4 years ago

view exchange from the cor discussion https://gist.github.com/Ovid/68b33259cb81c01f9a51612c7a294ede

leonerd commented 4 years ago

A keyword plugin-based experiment I've been playing with: https://metacpan.org/pod/Object::Pad I think a real core implementation would almost certainly try to use slot variables spelled $.name but aside from that something of about this shape might work. It's still very early and missing loads of things though; more just a PoC of "what do lexical-variable-like storage slots feel like?"