[Parrot-users] Compiler tools and case insensitive grammar
Patrick R. Michaud
pmichaud at pobox.com
Fri Sep 3 14:22:46 UTC 2010
On Fri, Sep 03, 2010 at 01:39:45PM +0200, Fredrik Rothamel wrote:
> I have tried inserting :i or :ignorecase modifiers as suggested by
> the docs but either get compilation errors or no noticeable effect.
>
> Are modifiers implemented in PGE and NQP ?
Yes, but the modifiers currently have to go inside the regex.
In other words, use
token xyz { :i [ abc | def ] }
instead of
token xyz :i { abc | def }
Or send us an example of something that isn't working for you and
we can help troubleshoot it. :-)
Pm
More information about the Parrot-users
mailing list