Hi, I've now made grammars a whole lot more class like. They get proto-objects and inheritance works too, plus the regexen go in the correct namespaces. There is some work to do getting Foo::bar to work now (where Foo is a grammar name and bar is a regex name in the grammar), but that's a separate issue that hits classes and grammars just as equally.
So I think the issues this ticket wanted to have addressed have been sorted out now. :-) Thanks! Jonathan