cs2352 LP
cs2352 LP
Subject Code
CS2352
Year/Sem
Total
:45
Practical :20
UNIT I
1
LEXICAL ANALYSIS
9+4
T1
1-4
T1
4-13
T1
13-18
phases
Cousins,The grouping of phases
Remarks
Pg no.
Books Reference
Topic
Taken
Hours
Sno
.
Required
Hours
T1
18-19
T1
69-73
T1
73-87
T1
87-110
T1
Recognition of tokens
A
7
8
language
for
specifying
lexical
analyzer
Practical
UNIT II
9+4
9
10
11
12
T1
130-134
Context-free grammars,Writing a
T1
134-147
T1
147-165
T1
174-199
T1
277-285
Source
T1
297-303
organization,Storage-
T1
303-315
grammar
parsing table
Type
13
16
Environments,
language issues
Storage
15
Systems,
14
Checking,Type
allocation strategies
Practical
UNIT III
9+4
17
Intermediate languages
T1
334-341
18
Declarations
T1
341-345
19
Assignment statements
T1
345-354
20
Boolean expressions
T1
354-361
21
Case statements
T1
361-364
22
Backpatching
T1
364-366
23
Procedure calls
T1
366-368
24
Practical
T1
UNIT IV
CODE GENERATION
9+4
T1
371-375
generator
26
T1
375-378
27
T1
378-383
28
T1
383-388
29
Next-use information
T1
388-389
30
T1
389-394
31
T1
394-398
32
T1
398-403
33
34
Practical
UNIT V
403-412
CODE OPTIMIZATION
Introduction-The principle sources of
35
T1
9+4
2
T1
427-438
optimization
36
Peephole optimization
T1
438-441
37
T1
441-444
38
T1
444-449
T1
449-461
39
analysis
40
41
Practical
469-481
TEXT BOOK:
1. Alfred V. Aho, Ravi Sethi Jeffrey D. Ullman, Compilers- Principles, Techniques, and
Tools, Pearson Education Asia, 2007.
REFERENCES:
1. David Galles, Modern Compiler Design, Pearson Education Asia, 2007
2.
3.
2000.