Recent questions tagged compiler-design

0 votes
3 answers
241
1 votes
1 answer
242
loader can perform linking .it is true how?and what are combined features that loader can perform ?
0 votes
0 answers
247
Consider the following grammar:S→ a | ^ | ( T )T→ T , S | SDraw the parse tree for “ (((a,a),^,(a)),a)”
2 votes
2 answers
248
Is the following grammar LL(1) ?S→ aABbCD | ϵA→ ASd | ϵB→ Sac| hC | ϵC→ Sf |CgD→ aBD | ϵDraw the LL(1) parsing table for the given grammar.
0 votes
1 answer
249
7 votes
3 answers
252
Consider the following grammar along with translation rules.$$\begin{aligned} & S \rightarrow S_{1} \# T \qquad \{S._{\text{val}} =S_{1}. _{\text{val}} \; ^{\ast} T._{\te...
0 votes
1 answer
259
2 votes
2 answers
262
if a grammar is CLR(1) with no mergeable states, then it is LALR(1) ? I suppose it is “yes”, am I right?
0 votes
0 answers
263
0 votes
0 answers
264
0 votes
2 answers
266
SR conflict in LR(0) and SLR(1) will always be equal for some context free grammar?
1 votes
1 answer
268
i=10j=1a=i*jb=i+jif a<=b goto 3else goto 8a=a+1i=i-1 goto 2 Include start and end nodes Find the number of nodes and edges in the control flow graph of the...