Hey Moritz,
Thanks that also makes clear why it works for subs but not methods. So it was
rakudo that was correct.
So there is no way to run the second method in the normal way?
class Foo {
to call them
Q: Is this the way it's meant to be?
I saw your post on doc.perl6.org docs. If I can get my head around all this I
would be happy to help document grammars!
Cheers,
Lard
On 27/06/2012, at 12:49 AM, Moritz Lenz wrote:
On 06/26/2012 02:04 PM, Lard Farnwell wrote:
Hi guys
Hi guys,
To understand and play around with perl6 grammars I was trying to do a simple
NLP parts of speech parser in perl6 grammars. This is sort of what I did:
---
grammar Sentence{
proto rule VP {*}
proto rule NP {*}
rule sentence