Parse a String with the Grammar