Syntax analysis (parsing)

Parse trees are generated for each expression. e.g  for the  code Line 1: Real D,b,a,c; Line 2: D= b*b – 4*a*c;   The tokens making up the line 2 (shown below)…. D = b * b – 4 * a * c ; …will generate the following tree: (Note that “” is a null left child … Continue reading Syntax analysis (parsing)