Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Webpage for Compiler Design:
Recent questions tagged compiler-design
0
votes
0
answers
31
compiler-design-timothy-g-griffin
Find the FIRST and FOLLOW of the grammar to check whether it is LL (1) parser or not. N → AB | BA A → a | CAC B → b | CBC C → a | b
Find the FIRST and FOLLOW of the grammar to check whether it is LL (1) parser or not. N → AB | BA A → a | CAC B → b | CBC C → a | b
Ebrahim
108
views
Ebrahim
asked
Jan 11
Compiler Design
compiler-design
parsing
ullman
syntax-directed-translation
code-optimization
+
–
0
votes
0
answers
32
compiler-design-timothy-g-griffin
Please provide in detail solution step by step 5. Find the FIRST and FOLLOW of the grammar to check whether it is LL (1) parser or not. N → AB | BA A → a | CAC B → b | CBC C → a | b Please provid in detail solution step by step
Please provide in detail solution step by step 5. Find the FIRST and FOLLOW of the grammar to check whether it is LL (1) parser or not. N → AB | BA A → a | CAC...
Ebrahim
140
views
Ebrahim
asked
Jan 10
Compiler Design
compiler-design
syntax-directed-translation
parsing
code-optimization
+
–
0
votes
1
answer
33
Compilers: Principles, Techniques, and Tools by ALFRED Aho
Find the minimum number of total variables in SSA form: a = b + m m = a + e d = b + m b = a + e
Find the minimum number of total variables in SSA form:a = b + mm = a + ed = b + mb = a + e
abhiyodayapandey
151
views
abhiyodayapandey
asked
Jan 7
Compiler Design
compiler-design
+
–
0
votes
0
answers
34
Made Easy Test Series
alankrit01
151
views
alankrit01
asked
Jan 2
Compiler Design
compiler-design
made-easy-test-series
+
–
0
votes
1
answer
35
Made Easy Test Series Question
Consider the following C code: d=a+b e=a-b f=c+d g=c-e a=f+g b=f-g c=d+e The minimum number of total variables required to convert the above code segment to static single assignment form is? Ans given is 7 but how
Consider the following C code:d=a+be=a-bf=c+dg=c-ea=f+gb=f-gc=d+eThe minimum number of total variables required to convert the above code segment to static single assignm...
yashss2001
219
views
yashss2001
asked
Jan 1
Compiler Design
compiler-design
made-easy-test-series
+
–
0
votes
1
answer
36
Compiler Design
Like Example Above please answer this question Q5. Implement a+b*(c+d)-e/f into: a). Quadruples. b). Triples. c). Indirect triples.
Like Example Above please answer this questionQ5. Implement a+b*(c+d)-e/finto: a). Quadruples.b). Triples.c). Indirect triples.
Ebrahim
281
views
Ebrahim
asked
Dec 18, 2023
Compiler Design
compiler-design
syntax-directed-translation
lexical-analysis
parsing
+
–
0
votes
1
answer
37
compiler Design
Please Answer this question 4. Discuss design issues in code generation. Generate target code for the following basic block. t1 : = a + b t2 : = c + d t3 : = e - t2 t4 : = t1 - t3
Please Answer this question 4. Discuss design issues in code generation. Generate target code for the following basic block. t1 : = a + b t2 : = c ...
Ebrahim
288
views
Ebrahim
asked
Dec 18, 2023
Compiler Design
compiler-design
syntax-directed-translation
lexical-analysis
parsing
+
–
0
votes
2
answers
38
Compiler Construction : Timothy G. Griffin
Please Answer this question in detail step by step: 3. Translate the arithmetic expression (a + b * c) + d + (a + b * c) − d + e into: a). Syntax tree, (please draw) b). DAG (Directed Acyclic Graph) representation, (please Draw) c). Three-Address Code representation.
Please Answer this question in detail step by step: 3. Translate the arithmetic expression (a + b * c) + d + (a + b * c) − d + e into: a). Syntax tree, (please dr...
Ebrahim
329
views
Ebrahim
asked
Dec 18, 2023
Compiler Design
compiler-design
syntax-directed-translation
code-optimization
+
–
0
votes
1
answer
39
Compiler Design: Timothy G. Griffin
3. Consider the grammar T → R | aTc R → € | RbR i). Give a leftmost and rightmost derivation of aabbbcc. ii). Is the grammar ambiguous? Justify your answer.
3. Consider the grammar T → R | aTc R → € | RbR i). Give a leftmost and rightmost derivation of aabbbcc. ii). Is the grammar ambiguous? Justify your answe...
Ebrahim
148
views
Ebrahim
asked
Dec 18, 2023
Compiler Design
compiler-design
+
–
0
votes
0
answers
40
Compiler Design : Timothy G. Griffin
4. Consider the following grammar and their syntax directed translation (SDT) rules. S → S * A {S.val = S.val x A. val} S → A {S.val = A.val} A → A + B {A.val = A.val – B.val} B → (S)’ {B.val = 2} A → B {A.val = B.val} B → id {B.val = id.val} Calculate the evaluation value of the expression 4 * 6 + 3 * 7. Is it 45 or 84?
4. Consider the following grammar and their syntax directed translation (SDT) rules.S → S * A {S.val = S.val x A. val}S → A {S.val = A.val}A → A...
Ebrahim
325
views
Ebrahim
asked
Dec 18, 2023
Compiler Design
compiler-design
syntax-directed-translation
+
–
0
votes
2
answers
41
Compiler Construction : Timothy G. Griffin
Q5. Find the FIRST and FOLLOW of the grammar to check whether it is LL (1) parser or not. N → AB | BA A → a | CAC B → b | CBC C → a | b
Q5. Find the FIRST and FOLLOW of the grammar to check whether it is LL (1) parser or not. N → AB | BA A → a | CAC B → b | CBC C → a | b
Ebrahim
196
views
Ebrahim
asked
Dec 16, 2023
Compiler Design
compiler-design
+
–
0
votes
0
answers
42
zeal
nihal_chourasiya
203
views
nihal_chourasiya
asked
Dec 10, 2023
Compiler Design
test-series
zeal
compiler-design
live-variable-analysis
+
–
0
votes
1
answer
43
Preparation plan on compiler design
Currently I am preparing for compiler design! What should be the approach on the topics from where should I start because sometimes the flow and order of the topic confuses me. in which order I should study the subject topics? currently I am following below ... org/gate-cs-notes-gq/ here the order is not valid so can you tell me the order of study of the topics?
Currently I am preparing for compiler design!What should be the approach on the topics from where should I start because sometimes the flow and order of the topic confuse...
rajveer43
128
views
rajveer43
asked
Dec 4, 2023
Compiler Design
compiler-design
general-topic-doubt
+
–
0
votes
0
answers
44
Self Doubt Question
gateexplore
86
views
gateexplore
asked
Nov 17, 2023
Compiler Design
self-doubt
compiler-design
+
–
0
votes
1
answer
45
Test Series
$\text{ Anyone please explain : }$
$\text{ Anyone please explain : }$
Rahhul A
295
views
Rahhul A
asked
Nov 13, 2023
Compiler Design
compiler-design
code-optimization
process-and-threads
threads
intermediate-code
+
–
1
votes
1
answer
46
Errors
How to differentiate between Lexical, semantic and syntax error from a given code snippet. Why is this lexical error and not syntax error? $ y = 0x5i; $
How to differentiate between Lexical, semantic and syntax error from a given code snippet.Why is this lexical error and not syntax error? $ y = 0x5i; $
Mrityudoot
241
views
Mrityudoot
asked
Nov 12, 2023
Compiler Design
compiler-design
lexical-analysis
made-easy-test-series
+
–
2
votes
0
answers
47
Made Easy Test Series - Compiler Design
Rahhul A
184
views
Rahhul A
asked
Nov 10, 2023
Compiler Design
compiler-design
made-easy-test-series
+
–
1
votes
3
answers
48
Made Easy Test Series - Compiler Design
$\text{ Find $\textbf{First(A)}$ and $\textbf{Follow(B)}$ }?$
$\text{ Find $\textbf{First(A)}$ and $\textbf{Follow(B)}$ }?$
Rahhul A
509
views
Rahhul A
asked
Nov 10, 2023
Compiler Design
compiler-design
made-easy-test-series
first-and-follow
+
–
0
votes
1
answer
49
compiler desing topic test question
Kishor_1403
143
views
Kishor_1403
asked
Nov 10, 2023
Compiler Design
compiler-design
static-single-assignment
made-easy-test-series
numerical-answers
+
–
0
votes
1
answer
50
Construct the DAG for following statement. a+b*c+d+b*c
ambro
176
views
ambro
asked
Nov 5, 2023
Compiler Design
compiler-design
+
–
Page:
« prev
1
2
3
4
5
6
7
...
68
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register