Friday, December 10, 2010

CS 2352 PRINCIPLES OF COMPILER DESIGN CS2352 PRINCIPLES OF COMPILER DESIGN

CS 2352 PRINCIPLES OF COMPILER DESIGN CS2352 PRINCIPLES OF COMPILER DESIGN 

CS2352 PRINCIPLES OF COMPILER DESIGN L T P C
3 0 2 4
UNIT I LEXICAL ANALYSIS 9
Introduction to Compiling- Compilers-Analysis of the source program-The phases-
Cousins-The grouping of phases-Compiler construction tools. The role of the lexical
analyzer- Input buffering-Specification of tokens-Recognition of tokens-A language for
specifying lexical analyzer.
15
UNIT II SYNTAX ANALYSIS and RUN-TIME ENVIRONMENTS 9
Syntax Analysis- The role of the parser-Context-free grammars-Writing a grammar-Topdown
parsing-Bottom-up Parsing-LR parsers-Constructing an SLR(1) parsing table.
Type Checking- Type Systems-Specification of a simple type checker. Run-Time
Environments-Source language issues-Storage organization-Storage-allocation
strategies.
UNIT III INTERMEDIATE CODE GENERATION 9
Intermediate languages-Declarations-Assignment statements - Boolean expressions-
Case statements- Backpatching-Procedure calls
UNIT IV CODE GENERATION 9
Issues in the design of a code generator- The target machine-Run-time storage
management-Basic blocks and flow graphs- Next-use information-A simple code
generator-Register allocation and assignment-The dag representation of basic blocks -
Generating code from dags.
UNIT V CODE OPTIMIZATION 9
Introduction-The principle sources of optimization-Peephole optimization- Optimization of
basic blocks-Loops in flow graphs- Introduction to global data-flow analysis-Code
improving transformations.
TOTAL: 75 PERIODS
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. Steven S. Muchnick, “Advanced Compiler Design & Implementation”,Morgan
Kaufmann Pulishers, 2000.
3. C. N. Fisher and R. J. LeBlanc “Crafting a Compiler with C”, Pearson Education,
2000.


5 comments:

  1. Hi there! I simply want to give a huge thumbs up for the good information you’ve right here on this post.
    I will probably be coming again to your weblog
    for extra soon.

    Feel free to surf to my web blog; Web Ranking

    ReplyDelete
  2. Hiya! I simply would like to give a huge thumbs up for the great info you may have here on this post.
    I will be coming back to your blog for extra soon.

    my web page 網站排名

    ReplyDelete
  3. Good day! I simply would like to give an enormous thumbs
    up for the good information you’ve right here on this post.

    I can be coming back to your blog for more soon.

    My weblog ... seoul survivors baguio 2011 mens fil am golf

    ReplyDelete
  4. Howdy! I just wish to give an enormous thumbs up
    for the nice data you may have here on this post. I will be coming again to your blog for more soon.


    Feel free to visit my webpage - seo in guk calling you lyrics hangul

    ReplyDelete
  5. Whats up! I simply wish to give an enormous thumbs up
    for the great information you may have here on this post.
    I will likely be coming back to your weblog for extra soon.


    Here is my blog post; play semi truck driving games

    ReplyDelete

Give your comment

LinkWithin

Related Posts Plugin for WordPress, ...