More Rakudo ng hacking

The Raku Programming Language Collect, Conserve and Remaster Project

More Rakudo ng hacking

Originally published on 7 November 2009 by Jonathan Worthington.

I’ve spent most of my waking hours today (and a bit of yesterday) starting to build things out on top of the metamodel foundations in Rakudo’s ng branch. It’s feeling much cleaner that what we had before, and I’ve not found anywhere yet where it’s feeling like I’m having to stick magic into the actions that is specific to a certain type of package. In fact, compared to before, the package_def action method is really quite compact and clean. The whole process of constructing a class (or role or grammar) is just a series of method calls on the metaclass.

Here’s a list of things that I’ve got done since the last blog post.

Basically, my aim is to get us able to start bringing the Raku setting back as soon as possible. Today Patrick did the infrastructural work for that, which was a great start. I was close to us having inheritance working by writing a trait modifier in there, but then realized that while lexical subs now work great (like, way cleaner than in master), package ones don’t. Fail. Ah well, it’s 3am and I need sleep. Thanks to Vienna.pm for sponsoring this chunk of work.