Front page | perl.perl6.language |
Postings from August 2010
August 10, 2010 10:30
Message ID: 3823C3443A7CA34BA4338754939C12E70131EBA40D@MBX08.bell.corp.bce.ca
New to the list and getting to understand perl6 after a bit of a hiatis from the Perl world.
I'm working my way through the new grammar syntax trying to implement some useful modules, and was wondering if there is a mechanism within the grammar constructs to allow two rules to apply simultaneously in parallel (not sequence).
In other words... I want to say that for a rule to pass it must pass two contained rules completely.
Such that the TOP rule would only match if a matching string consisted entirely of alpha's AND did not contain the letter sequence "abc" anywhere in it.
(*note I know the & notation isn't legit ;)