pointlander/peg — Issue #7: case insensitive grammars
Author: unit3
Created: 2011-12-21 00:06:56+00:00
State: open

Hi,

I'm quite interested in using this, but I've found a fairly major sticking point. There doesn't appear to be any easy way to parse case insensitive grammars, at least that I can see. Given how prevalent case insensitive language grammars are, it'd be nice if peg supported an easier way to parse them.

I've done some searching, and it appears that this is a common problem with things based peg. I see some discussion on the pegjs project to use a "characters"i syntax to denote case insensitive character chunks:

https://github.com/dmajda/pegjs/issues/34

I'm not sure if you like that syntax or not, but something similar to ease case insensitive grammars would be super useful.