Add support for literal paths (using "[]" syntax) in grammar