I have the code in: https://gist.github.com/ravbell/d94b37f1a346a1f73b5a827d9eaf7c92I have not been able to figure out why the parse on the rule <invoice-prelude> fails with a Nil. Note that even .subparse also fails.
I am still learning perl6, and I am reading the example on grammar from this page: http://examples.perl6.org/categories/parsers/SimpleStrings.html ; I have read the documentations on regex multiple times, but there are still some syntax that I don't understand; can anyone enlighten me? Thank you very much !!!
As indicated in this issue, some token names clash with method names in the class hierarchy of Grammar (which includes Match, Capture, Cool, Any and obviously My.). For instance, `Mu.item
GCC and Clang disagree on whether template<typename>; is a valid statement in C++ at global scope.
In the Perl doc, there is a section about .postfix/.postcircumfix, it says thatIn most cases, a dot may be placed before a postfix or postcircumfix: