Carl (>), Ovid (>>): >> As a follow-up to this, I have my code posted at >> http://blogs.perl.org/users/ovid/2009/12/configini-in-perl-6.html >> >> While my admittedly clumsy grammar matches, transforming it into an AST has >> failed miserably. >> >> Aside from the advent calendar or the online docs at >> http://perlcabal.org/syn/S05.html, are there any other resources for >> explaining the generation of an AST from a grammar? > > Yes: #perl6 -- or more specifically, moritz++ and a number of other > people who have built dozens of grammars already.
As for the current issue you're experiencing, it seems you can't initialize a nested class in the way you're trying to: $ perl6 -e 'class A { class A::B {} }; A::B.new' Null PMC access in find_method('new') $ perl6 -e 'class A { class B {} }; A::B.new; say "alive"' alive There's already a bug in RT pertaining to a similar issue (<http://rt.perl.org/rt3/Ticket/Display.html?id=69316>), but I'll submit yours as a separate one. // Carl