Handling comments and whitespace
- A grammar can define its own <?ws> regex.
- For Perl 6, we define a <?ws> regex that grabs (optional) whitespace and comments that may appear between two tokens
- It will also eventually handle POD streams
Perl 6 Compiler | Perl 6 Compiler Status and the Parrot Compiler Toolkit | #18 |
Copyright © 2006 Patrick Michaud |