Recent questions tagged compiler-design

0 votes
1 answer
1861
0 votes
1 answer
1862
1 votes
3 answers
1863
Consider the SDT , where S ->TR, R- +TR|empty {print ("+")} , And T- num {print(num)} And if the input is given "9+5+2" What is output ?
80 votes
7 answers
1866
34 votes
3 answers
1870
Match the following:$$\begin{array}{ll|ll}\hline \text{P.} & \text{Lexical analysis} & \text{1.} & \text{Graph coloring} \\\hline \text{Q.} & \text{Parsing} & \text{2.}&...
3 votes
0 answers
1874
23 votes
4 answers
1889
Translate the arithmetic expression $a^\ast -(b+c)$ into syntax tree.A grammar is said to have cycles if it is the case that $A \overset{+}{\Rightarrow} A$ Show that no g...