21%
Compiler Design (with CD)

Compiler Design (with CD)

2       |  1 Reviews 
5
4
3
2
1

Available


Premium quality
Premium quality
Bookswagon upholds the quality by delivering untarnished books. Quality, services and satisfaction are everything for us!
Easy Return
Easy return
Not satisfied with this product! Keep it in original condition and packaging to avail easy return policy.
Certified product
Certified product
First impression is the last impression! Address the book’s certification page, ISBN, publisher’s name, copyright page and print quality.
Secure Checkout
Secure checkout
Security at its finest! Login, browse, purchase and pay, every step is safe and secured.
Money back guarantee
Money-back guarantee:
It’s all about customers! For any kind of bad experience with the product, get your actual amount back after returning the product.
On time delivery
On-time delivery
At your doorstep on time! Get this book delivered without any delay.
Quantity:
Add to Wishlist

About the Book

The book commences with an overview of system software and briefly describes the evolution, design, and implementation of compilers. Detailed explanation of the various phases involved in the design of a compiler such as lexical analysis, syntax analysis, runtime storage organization, intermediate code generation, optimization of code, and final code generation is provided in various chapters of the book. The last chapter describes in brief all the frequently used compiler writing tools with examples and program codes. Written in a lucid manner, the book provides numerous examples, algorithms, pseudocodes and C codes in support of the text. Chapter-end exercises, appendices and the companion CD are provided to help readers revise and practice the learnt concepts.

Table of Contents:
PREFACE; IN THE CD; FEATURES OF THE BOOK; BRIEF CONTENTS; 1. OVERVIEW OF COMPUTER HARDWARE AND SYSTEM SOFTWARE; 1.1 INTRODUCTION; 1.2 COMPUTER HARDWARE AND TYPES OF SYSTEM SOFTWARE; 1.2.1 HARDWARE; 1.2.2 OVERVIEW OF SYSTEM SOFTWARE; 1.3 MAN-MACHINE COMMUNICATION SPECTRUM; 1.3.1 MACHINE LANGUAGE; 1.3.2 ASSEMBLY LANGUAGE; 1.3.3 HIGH-LEVEL LANGUAGE; 1.3.4 USER-LEVEL LANGUAGE; 1.3.5 NATURAL LANGUAGE; 1.3.6 INTERPRETED VS COMPILED LANGUAGES; 2. INTRODUCTION TO COMPILERS; 2.1 INTRODUCTION; 2.2 THEORY OF COMPUTER LANGUAGES; 2.2.1 NATURAL LANGUAGES VS FORMAL LANGUAGES; 2.2.2 LANGUAGE AND GRAMMAR; 2.2.3 NOTATIONS AND CONVENTIONS; 2.2.4 HIERARCHY OF FORMAL LANGUAGES; 2.3 DESIGN OF A LANGUAGE; 2.3.1 FEATURES OF A GOOD LANGUAGE; 2.3.2 REPRESENTATION OF LANGUAGES; 2.3.3 GRAMMAR OF A LANGUAGE; 2.4 EVOLUTION OF COMPILERS; 2.4.1 HISTORY OF COMPILERS; 2.4.2 DEVELOPMENT OF COMPILERS; 2.5 STAGES OF COMPILATION; 2.5.1 LEXICAL ANALYSIS; 2.5.2 SYNTACTIC ANALYSIS; 2.5.3 SEMANTIC ANALYSIS; 2.5.4 INTERMEDIATE CODE GENERATION; 2.5.5 CODE OPTIMIZATION; 2.5.6 CODE GENERATION; 2.5.7 SYMBOL TABLE MANAGEMENT; 2.5.8 ERROR MANAGEMENT; 3. LEXICAL ANALYSIS; 3.1 INTRODUCTION; 3.2 ALPHABETS AND TOKENS IN COMPUTER LANGUAGES; 3.2.1 TOKENS AND THEIR STRUCTURE; 3.2.2 OPERATORS ON STRINGS AND LANGUAGES; 3.3 REPRESENTATION OF TOKENS AND REGULAR EXPRESSION; 3.3.1 REPRESENTATION OF TOKENS; 3.3.2 REGULAR EXPRESSION; 3.3.3 REGULAR DEFINITIONS; 3.3.4 REGULAR GRAMMAR AND REGULAR EXPRESSIONS; 3.4 TOKEN RECOGNITION AND FINITE STATE AUTOMATA; 3.4.1 RECOGNITION OF TOKENS; 3.4.2 FINITE AUTOMATA; 3.5 IMPLEMENTATION; 3.5.1 INPUT BUFFERING; 3.5.2 DESIGN OF DATA STRUCTURES; 3.5.3 STATES AND EVENT PROCESSING; 3.5.4 CODE DEVELOPMENT; 3.5.5 LEXICAL ANALYSIS TOOL; 3.6 ERROR RECOVERY; 4. SYNTAX ANALYSIS; 4.1 INTRODUCTION; 4.2 CONTEXT-FREE GRAMMAR AND STRUCTURE OF LANGUAGE; 4.2.1 STRUCTURE OF A LANGUAGE; 4.2.2 WHY IS CONTEXT-FREE GRAMMAR USED FOR SYNTAX CHECKING; 4.2.3 REPRESENTATIONS OF GRAMMAR AND EXAMPLES; 4.2.4 LIMITATIONS OF CONTEXT-FREE GRAMMAR; 4.2.5 AMBIGUOUS GRAMMAR; 4.3 PARSER AND ITS TYPES; 4.3.1 ROLE OF PARSER; 4.3.2 ISSUES IN DESIGNING A PARSER; 4.4 TOP-DOWN PARSER; 4.4.1 RECURSIVE GRAMMAR AND DIFFICULTIES IN ITS IMPLEMENTATION; 4.4.2 RECURSIVE DESCENT PARSER; 4.4.3 PREDICTIVE PARSER; 4.5 BOTTOM-UP PARSER; 4.5.1 SIMPLE STACK-BASED PARSER; 4.5.2 OPERATOR GRAMMAR AND PARSER; 4.5.3 LR PARSER; 4.5.4 PARSERS HANDLING AMBIGUOUS GRAMMAR; 4.6 IMPLEMENTATION; 4.6.1 DESIGN OF DATA STRUCTURE; 4.6.2 PREDICTIVE PARSER; 4.6.3 SLR PARSER; 4.7 PARSER GENERATOR TOOL (YACC); 4.7.1 STRUCTURE OF YACC SPECIFICATION; 4.7.2 PARSER GENERATION; 4.7.3 GRAMMAR SPECIFICATION; 4.7.4 YACC PROGRAM COMPILATION; 4.7.5 LINKING YACC AND LEX; 4.8 ERROR HANDLING; 4.8.1 CATEGORIES OF ERROR; 4.8.2 ERROR LOCATION; 4.8.3 ERROR RECOVERY; 4.8.4 ERROR REPORTING; 5. RUN-TIME STORAGE ORGANIZATION; 5.1 INTRODUCTION; 5.2 SCOPE AND LIFETIME OF VARIABLES; 5.2.1 SCOPE OF VARIABLES; 5.2.2 PERSISTENCE OF VARIABLES; 5.3 SYMBOL TABLE; 5.3.1 INFORMATION ASSOCIATED WITH SYMBOLS; 5.3.2 DATA STRUCTURE FOR SYMBOL TABLE; 5.4 STORAGE ALLOCATION; 5.4.1 STATIC ALLOCATION; 5.4.2 DYNAMIC ALLOCATION; 5.5 ACCESS TO NON-LOCAL NAMES FROM STACK; 5.6 HEAP ALLOCATION; 5.6.1 HIERARCHICAL ORGANIZATION OF MEMORY; 5.6.2 OPTIMIZATION IN MEMORY USAGE; 5.6.3 IMPLICIT AND EXPLICIT MEMORY ALLOCATION REQUEST; 5.6.4 MEMORY ALLOCATION STRATEGIES; 5.7 GARBAGE COLLECTION; 5.7.1 PERFORMANCE FACTORS; 5.7.2 ROLE OF OBJECT REFERENCES; 5.7.3 MARK-AND-SWEEP COLLECTORS; 6. INTERMEDIATE CODE GENERATION; 6.1 INTRODUCTION; 6.2 NEED FOR INTERMEDIATE CODE; 6.3 TYPES OF INTERMEDIATE CODE; 6.3.1 SYNTAX TREES; 6.3.2 POLISH NOTATION; 6.3.3 THREE-ADDRESS CODE; 6.4 REPRESENTATIONS OF ALL LANGUAGE CONSTRUCTS BY THREE-ADDRESS CODE; 6.5 GRAMMAR SYMBOLS AND ATTRIBUTES; 6.5.1 SYNTHESIZED ATTRIBUTES; 6.5.2 INHERITED ATTRIBUTES; 6.6 SEMANTIC ANALYSIS; 6.6.1 TYPE CHECKING; 6.6.2 STRICTLY TYPED LANGUAGES; 6.6.3 OPERATOR OVERLOADING AND FUNCTION OVERLOADING; 6.7 SEMANTIC ROUTINES FOR INTERMEDIATE CODE GENERATION; 6.7.1 DECLARATIVE STATEMENTS; 6.7.2 IC GENERATION FOR EXPRESSIONS AND ASSIGNMENT STATEMENT; 6.7.3 IC GENERATION FOR CONTROL STATEMENTS; 7. OPTIMIZATION; 7.1 INTRODUCTION; 7.1.1 NEED FOR OPTIMIZATION; 7.1.2 OBJECTIVES OF OPTIMIZATION; 7.1.3 PLACES OF OPTIMIZATION; 7.1.4 PERFORMANCE FACTORS DECIDING THE RUNNING PROGRAM; 7.2 HINTS ON WRITING OPTIMIZED CODE AT USER LEVEL; 7.2.1 RESTRICTED USAGE OF LOCAL VARIABLE AND PARAMETER PASSING; 7.2.2 USAGE OF SWITCH-CASE STATEMENT; 7.2.3 ACCESSING MEMORY ELEMENTS; 7.2.4 USAGE OF CONSTRUCTOR IN C++; 7.3 CONSTRUCTION OF BASIC BLOCKS AND PROCESSING; 7.3.1 BASIC BLOCKS; 7.3.2 LINKING OF BASIC BLOCKS; 7.4 DATA-FLOW ANALYSIS USING FLOWGRAPH; 7.4.1 REACHABLE DEFINITIONS; 7.5 DATA-FLOW EQUATIONS FOR BLOCKS WITH BACKWARD FLOW CONTROL; 7.5.1 COMPUTING DEFINITIONS; 7.5.2 AVAILABLE EXPRESSION; 7.5.3 LIVE VARIABLES; 7.6 PRINCIPAL SOURCES OF OPTIMIZATION AND TRANSFORMATIONS; 7.6.1 IDENTIFICATION OF COMMON SUBEXPRESSION AND ELIMINATION; 7.6.2 COMPILE TIME EVALUATION; 7.6.3 COPY PROPAGATION; 7.6.4 DEAD CODE ELIMINATION; 7.7 ALIAS; 7.8 PROCEDURAL OPTIMIZATION; 7.8.1 RECURSIVE VS ITERATIVE PROCEDURE; 7.8.2 INLINING FUNCTION; 7.9 LOOPS IN FLOW GRAPHS; 7.9.1 DOMINATOR; 7.9.2 DETECTION OF LOOP; 7.9.3 REDUCIBLE GRAPH; 7.10 LOOP OPTIMIZATION; 7.10.1 LOOP-INVARIANT COMPUTATIONS; 7.10.2 CODE MOTION; 7.10.3 INDEX VARIABLE ELIMINATION AND STRENGTH REDUCTION; 8. CODE GENERATION; 8.1 INTRODUCTION; 8.2 ISSUES IN CODE GENERATION; 8.2.1 TYPE OF INPUT; 8.2.2 TYPE OF OUTPUT; 8.2.3 SELECTION OF INSTRUCTIONS; 8.2.4 SELECTION OF REGISTER; 8.2.5 ORDER OF EVALUATION; 8.3 TARGET MACHINE ARCHITECTURE; 8.3.1 REGISTERS; 8.3.2 MEMORY; 8.3.3 DATA FORMAT; 8.3.4 INSTRUCTION FORMAT; 8.3.5 ADDRESSING MODES; 8.3.6 INSTRUCTION SET; 8.3.7 INPUT/OUTPUT CODE GENERATION; 8.4 SUBSEQUENT USE INFORMATION; 8.4.1 COMPUTING SUBSEQUENT USE OF DATA; 8.4.2 STORAGE COMPACTION FOR TEMPORARY NAMES; 8.5 SIMPLE CODE GENERATOR; 8.5.1 REGISTER LIST FOR VARIABLES; 8.5.2 CODE GENERATION PROCEDURE; 8.5.3 SAMPLE CODE GENERATION FOR 8086 FAMILY PROCESSOR; 8.6 REGISTER ALLOCATION; 8.6.1 REGISTER ALLOCATION ACROSS BASIC BLOCKS; 8.6.2 USAGE COUNT OF REGISTERS; 8.6.3 REGISTER ASSIGNMENT TO OUTER LOOPS; 8.6.4 REGISTER REALLOCATION; 8.7 DIRECTED ACYCLIC GRAPH REPRESENTATION OF BASIC BLOCKS; 8.8 CODE GENERATION FROM INTERMEDIATE CODE; 8.8.1 CODE GENERATION FROM QUADRUPLE; 8.8.2 CODE GENERATION FROM SYNTAX TREE; 8.8.3 CODE GENERATION FROM DIRECTED ACYCLIC GRAPH; 8.8.4 CODE GENERATION FROM COMMON INTERMEDIATE LANGUAGE; 8.9 PEEPHOLE OPTIMIZATION; 8.10 CODE SCHEDULING; 8.10.1 PARALLELISM; 8.10.2 VERY LONG INSTRUCTION WORD; 8.10.3 STRAIGHT-LINE SCHEDULING; 8.10.4 LIST SCHEDULING; 8.10.5 TRACE SCHEDULING; 8.10.6 SUPERBLOCK SCHEDULING; 8.10.7 SOFTWARE PIPELINING; 9. COMPILER WRITING TOOLS; 9.1 INTRODUCTION; 9.2 LEXICAL TOOLS; 9.2.1 TYPES OF SCANNER GENERATOR TOOLS; 9.2.2 JAVACC-TOOL FOR SCANNER GENERATOR; 9.3 SYNTACTIC TOOLS; 9.3.1 ACCENT; 9.3.2 AYACC; 9.3.3 ATTRIBUTE-LOGIC ENGINE; 9.3.4 YACC++; 9.3.5 JAVACC; APPENDIX A: PARSING C LANGUAGE USING LEX AND YACC; APPENDIX B: PARSING C LANGUAGE USING JAVACC; APPENDIX C: ADDITIONAL SOLVED PROBLEMS; APPENDIX D: MODEL QUESTION PAPERS; INDEX


Best Sellers


Product Details
  • ISBN-13: 9780198066644
  • Publisher: OUP India
  • Publisher Imprint: OUP India
  • Depth: 32
  • Height: 242 mm
  • No of Pages: 660
  • Series Title: English
  • Weight: 910 gr
  • ISBN-10: 0198066643
  • Publisher Date: /12/2012
  • Binding: Paperback
  • Edition: PAP/CDR
  • Language: English
  • Returnable: Y
  • Spine Width: 28 mm
  • Width: 186 mm


Similar Products

How would you rate your experience shopping for books on Bookswagon?

Add Photo
Add Photo

Customer Reviews

2       |  1 Reviews 
out of (%) reviewers recommend this product
Top Reviews
Rating Snapshot
Select a row below to filter reviews.
5
4
3
2
1
Average Customer Ratings
2       |  1 Reviews 
00 of 0 Reviews
Sort by :
Active Filters

00 of 0 Reviews
SEARCH RESULTS
1–2 of 2 Reviews
    BoxerLover2 - 5 Days ago
    A Thrilling But Totally Believable Murder Mystery

    Read this in one evening. I had planned to do other things with my day, but it was impossible to put down. Every time I tried, I was drawn back to it in less than 5 minutes. I sobbed my eyes out the entire last 100 pages. Highly recommend!

    BoxerLover2 - 5 Days ago
    A Thrilling But Totally Believable Murder Mystery

    Read this in one evening. I had planned to do other things with my day, but it was impossible to put down. Every time I tried, I was drawn back to it in less than 5 minutes. I sobbed my eyes out the entire last 100 pages. Highly recommend!


Sample text
Photo of
    Media Viewer

    Sample text
    Reviews
    Reader Type:
    BoxerLover2
    00 of 0 review

    Your review was submitted!
    Compiler Design (with CD)
    OUP India -
    Compiler Design (with CD)
    Writing guidlines
    We want to publish your review, so please:
    • keep your review on the product. Review's that defame author's character will be rejected.
    • Keep your review focused on the product.
    • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
    • Refrain from mentioning competitors or the specific price you paid for the product.
    • Do not include any personally identifiable information, such as full names.

    Compiler Design (with CD)

    Required fields are marked with *

    Review Title*
    Review
      Add Photo Add up to 6 photos
      Would you recommend this product to a friend?
      Tag this Book
      Read more
      Does your review contain spoilers?
      What type of reader best describes you?
      I agree to the terms & conditions
      You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

      CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

      These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


      By submitting any content to Bookswagon, you guarantee that:
      • You are the sole author and owner of the intellectual property rights in the content;
      • All "moral rights" that you may have in such content have been voluntarily waived by you;
      • All content that you post is accurate;
      • You are at least 13 years old;
      • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
      You further agree that you may not submit any content:
      • That is known by you to be false, inaccurate or misleading;
      • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
      • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
      • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
      • For which you were compensated or granted any consideration by any unapproved third party;
      • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
      • That contains any computer viruses, worms or other potentially damaging computer programs or files.
      You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


      For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


      All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

      Accept

      New Arrivals


      Inspired by your browsing history


      Your review has been submitted!

      You've already reviewed this product!
      ASK VIDYA