holli has asked for the wisdom of the Perl Monks concerning the following question:
How do i implement a token neither_a_nor_b as a composition of not_a and not_b?use v6; grammar G { token not_a { <-[ a ]> } token not_b { <-[ b ]> } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Perl 6 - How to combine two negates charachter classes in a grammar
by moritz (Cardinal) on Mar 24, 2010 at 13:17 UTC |