100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
Class Notes for Compiler Construction(CS153, CS132) $10.49   Add to cart

Class notes

Class Notes for Compiler Construction(CS153, CS132)

 1 view  0 purchase
  • Course
  • Institution

The document contains class notes for compiler construction. The notes include topics touching on Lexical Analysis, syntax analysis, top-down parsing and bottom-up parsing which are key concepts when learning about compiler construction.

Preview 1 out of 2  pages

  • April 27, 2023
  • 2
  • 2022/2023
  • Class notes
  • John wanaina
  • All classes
avatar-seller
JOMO KENYATTA UNIVERSITY
OF
AGRICULTURE AND TECHNOLOGY

BCT 2311 Compiler Construction ~ Course Outline
Course Goals
The students should be able to;
 Understand the fundamental issues in modern compiler design and implementation.
 Become familiar with concepts, methods, and tools in compiler front-end design.
 Become familiar with methods, techniques in compiler intermediate representation and code
generation.
 Become familiar with basics of compiler analysis and optimization.

Course Description
Formal treatment of programming language translation and compiler design concepts; compilers and
interpreters . Language theory. Parsing context-free languages, translation specifications and machine-
independent code optimization; main phases of compilation. Lexical analysis. Syntax analysis. Semantic
analysis. Code generation. Symbol table design. Program compilation. Loading and execution. Compilation
techniques. Optimisation. Design of a simple complete compiler.

Course Plan
WEEK DETAILS HOURS
Week 1 Introduction: Introduction to compiler construction, Phases of compilers, 5
Challenges in Compiler Design.
Week 2 Lexical Analysis: Role of lexical analyzer, specification of Tokens, 5
Regular expressions, Lexical Analysis tools
Week 3 Lexical Analysis conti: Token recognition: Non-deterministic Finite 5
Automata (NFA), Deterministic Finite Automata (DFA)
Week 4 Parsing And Parser Design: Role of parser, Grammar, 5
Context- Free Grammar.
Week 5 Parsing And Parser Design conti: Top-Down: Recursive descent 5
parsing, LL(1) parsing
Week 6 Parsing And Parser Design Conti: Bottom-Up parsing: Shift-reduce 5
parsing, LR parsing, Types of LR parsing.
Week 7 Parsing And Parser Design Conti: LR(1) parsing, LR(1) parsing
methods: SLR, Canonical LR, LALR
Week 8 Semantic Analysis: Semantics, Attribute Grammar, Synthesized Attributes, 5
Inherited Attributes
Week 9 Semantic Analysis cont: Type Checking: Static vs Dynamic checking, 5
Type expressions
Week 10 Intermediate Code Generation: Intermediate Languages, Representation 5
techniques, Syntax trees and P-code
Week 11 Intermediate Code Generation conti: Three address Code, One address 5
code, Three address Code implementation, and Generation.
Week 12 Target Code Generation: Basic block, code generation for Tree, 5
Register Allocation.
Week 13 Code Optimization: Classification of Optimization, Optimization
Techniques, Optimization Transformations. 5
Week 14 Code Optimization conti: Local Optimization, Global Optimization, 5
Data Flow Analysis.
Week 15 & 16 Examinations
1|P age

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller roykibet. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $10.49. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

83750 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$10.49
  • (0)
  Add to cart