Recent questions tagged compiler-design

0 votes
1 answer
545
1 votes
0 answers
546
2 votes
3 answers
547
How many tokens in thisa>>=1;and a! , Will >>= and a! be treated as a single token ?
1 votes
4 answers
548
0 votes
3 answers
549
int main(){int a = 10;fun(a);}void fun(int a){printf(“%d”,a);}Which phase of the compiler will raise an error?Lexical syntaxsemanticsnone of the above
0 votes
1 answer
550
If LALR(1) parser have shift reduce conflict then CLR(1) parser must have shift reduce conflict, why?
2 votes
0 answers
554
Which one of the following is true about LALR(1) Parser ?It can resolve SR Conflict in favor of reducedIt can resolve SR Conflict in favor of ShiftIt can resolve RR Confl...
0 votes
0 answers
555
A grammar that has no epsilon productions and also free from unit productions. The maximum number of reduce moves that can be taken during bottom-up evaluation of 25 toke...
1 votes
1 answer
556
does augmented production causes conflicts
1 votes
1 answer
558
0 votes
1 answer
561
Which of the Statements are True :S1: LR(1) grammar can be LR(0) but not LL(1).S2 : Every regular language is LL(1)S3 : Three address code is linear representation of Syn...
1 votes
1 answer
565
0 votes
0 answers
566
Suppose Grammars given:-S→ BbbB→ epsilonIf we do SLR(1) parsing on the above grammar. Then the first state would have shift-reduce conflict right??Because B→ epsilo...
0 votes
2 answers
567
0 votes
1 answer
568
Consider the basic block given below:u=u+vv=v+wx=v-wy=v-xz=u+vThe minimum number of nodes and edges present in the DAG representations of the above basic block respective...