Related to my earlier question about case-insensitive keyword matching using regular expressions.
Is it possible to match strings case-insensitively in Marpa? If so, how?
Suppose I have the grammar
:start ::= script
identifier ~ [\w]+
script ::= 'script' identifier code
code ::= command*
command ::= 'run' | 'walk' | 'stop'
How can I make it match any of script
, Script
, SCRIPT
or any other combination of lower and uppercase letters?