Hi Moritz,
Thanks that was interesting. My investigation into grammars took a while but
here are the results thus far:
Grammar rules and regexes are just methods…
I hadn't thought about what a grammar and rule actually was before. This
inspired me to try:
---
grammar
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
On 06/26/2012 02:04 PM, Lard Farnwell wrote:
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 {*}