Consider the following grammar
grammar precedence; s: expr EOF; expr: \'!\' expr | expr \'.\' ID | ID; ID: [a-zA-Z]; WS: [ \\n] -> skip;
Giv