Parsing code with caseless keyword with Tatsu / grako

71 Views Asked by At

I try to parse Fortran code with keyword which are caseless with Tatsu h! Is there a smarter way to define the keyword caseless than these :

@@ keyword :: integer INTEGER etc...

Thanks

1

There are 1 best solutions below

0
On

You may use the @@ignorecase directive, as explained here