Closed gonensel closed 1 year ago
hello I am trying to analyze this grammar: E -> T A . A -> + T A . A -> . T -> F B . B -> * F B . B -> . F -> ( E ) . F -> id . but I an getting error. the grammar is ok can you please help?
Symbols like + need to be quoted. So the grammar should be written like this:
+
E -> T A . A -> "+" T A . A -> . T -> F B . B -> "*" F B . B -> . F -> "(" E ")" . F -> id .
Analyze this grammar in Grammophone
hello I am trying to analyze this grammar: E -> T A . A -> + T A . A -> . T -> F B . B -> * F B . B -> . F -> ( E ) . F -> id . but I an getting error. the grammar is ok can you please help?