Geschreven door studenten die geslaagd zijn Direct beschikbaar na je betaling Online lezen of als PDF Verkeerd document? Gratis ruilen 4,6 TrustPilot
logo-home
College aantekeningen

Class Notes for Compiler Construction(CS153, CS132)

Beoordeling
-
Verkocht
-
Pagina's
2
Geüpload op
27-04-2023
Geschreven in
2022/2023

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.

Meer zien Lees minder
Instelling
Vak

Voorbeeld van de inhoud

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

Geschreven voor

Instelling
Vak

Documentinformatie

Geüpload op
27 april 2023
Aantal pagina's
2
Geschreven in
2022/2023
Type
College aantekeningen
Docent(en)
John wanaina
Bevat
Alle colleges

Onderwerpen

$10.99
Krijg toegang tot het volledige document:

Verkeerd document? Gratis ruilen Binnen 14 dagen na aankoop en voor het downloaden kun je een ander document kiezen. Je kunt het bedrag gewoon opnieuw besteden.
Geschreven door studenten die geslaagd zijn
Direct beschikbaar na je betaling
Online lezen of als PDF

Maak kennis met de verkoper
Seller avatar
roykibet

Maak kennis met de verkoper

Seller avatar
roykibet University Of California
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
-
Lid sinds
3 jaar
Aantal volgers
0
Documenten
5
Laatst verkocht
-

0.0

0 beoordelingen

5
0
4
0
3
0
2
0
1
0

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Bezig met je bronvermelding?

Maak nauwkeurige citaten in APA, MLA en Harvard met onze gratis bronnengenerator.

Bezig met je bronvermelding?

Veelgestelde vragen