Recent questions tagged compiler-design

0 votes
1 answer
1831
0 votes
1 answer
1832
Given answer: DSolution to this problems says that the grammar is same as dangling else problem. Please explain me how.
0 votes
2 answers
1833
1 votes
1 answer
1835
3 votes
3 answers
1837
The maximum number of reduce moves that can be taken by a bottom-up parser with no epsilon and unit productions to parse a string of length 3 tokens is ____ ?
3 votes
0 answers
1839
2 votes
6 answers
1841
Consider the following grammar$S\rightarrow Aa\mid B $$B\rightarrow a\mid BC$$C \rightarrow a\mid \in$the no of productions in simplified cfg is
4 votes
1 answer
1843
Do we directly say it is not LL(1) because it is left recursive or do we eliminate the left recursion, create the parsing table and then make a decision.
6 votes
4 answers
1846
5 votes
1 answer
1847
4 votes
2 answers
1848
0 votes
1 answer
1849
10 votes
4 answers
1850
Which of the following class of statement usually produces no executable code when compiled?declarationassignment statementsinput and output statementsstructural statemen...
8 votes
4 answers
1851
What is the number of steps required to derive the string $((()\; ())\; ())$ for the following grammar?$S \to SS$$S \to (S)$$S \to \varepsilon$ $10$ $12$ ...
0 votes
2 answers
1852
3 votes
2 answers
1855
Access time of the symbol table will be logarithmic, if it is implemented by alinear list search tree hash table none of the above
0 votes
1 answer
1859