Hi Lard,
sorry for the late and incomplete answer.
Am 04.07.2012 15:09, schrieb Lard Farnwell:
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 g
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
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 {*}
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 {