Modified grammar to accept either UPPERCASE or lowercase letters for keywords