in reply to Re^5: Using Perl6 patterns/grammar definition for <I>output</I>?
in thread Using Perl6 patterns/grammar definition for 'output'?

Yes, the GrammarVisitor derived class is symetric with the grammar itself: members match rules, and you can derive from them to alter things. I like it.

I don't understand your second listing. $sub.MY{'$date'} is going to set a variable inside that closure, I take it? But the sub never uses it.

—John

  • Comment on Re: Re^5: Using Perl6 patterns/grammar definition for <I>output</I>?
  • Download Code