CFG(Context Free Grammar) is a notation used for
representing the syntactic specification of a programming language. A grammar
involves four quantities: terminals, non terminals, a starting symbol, and productions.
(e.g.)Grammar for arithmetic
expression
E->E+E|E*E| (E) |id
No comments:
Post a Comment