Go to:
Logótipo
You are in:: Start > CC3001

Compilers

Code: CC3001     Acronym: CC3001     Level: 300

Keywords
Classification Keyword
OFICIAL Computer Science

Instance: 2014/2015 - 1S

Active? Yes
Responsible unit: Department of Computer Science
Course/CS Responsible: Bachelor in Computer Science

Cycles of Study/Courses

Acronym No. of Students Study Plan Curricular Years Credits UCN Credits ECTS Contact hours Total Time
L:CC 28 Plano de estudos a partir de 2014 3 - 6 56 162
MI:ERS 43 Plano Oficial desde ano letivo 2014 3 - 6 56 162
Mais informaçõesLast updated on 2014-11-10.

Fields changed: Components of Evaluation and Contact Hours

Teaching language

Portuguese

Objectives

Study and implementation of a compiler and interpreter of a programming language.

Learning outcomes and competences

To be able to implement a compiler to a simple programming language.

Working method

Presencial

Program

Introduction to programming language execution principles. Compilers vs interpreters. Lexical analysis. Scanner generators. Syntactic analysis (LL,LR, LALR parsers). Parser generators. Syntax oriented compilation. Attribute grammars. Semantic analysis: symbol table, type checking. Activation records. Three address code translation. Code generation: flow analysis , register allocation. Cycle optimisation.

Mandatory literature

Appel Andrew W. 1960-; Modern compiler implementation in ML. ISBN: 978-0-521-60764-3 pbk
Louden Kenneth C.; Compiler construction. ISBN: 978-0-534-93972-4 hbk

Complementary Bibliography

Aho Alfred V. 070; Principles of compiler design. ISBN: 0-201-00022-9 1 345$20

Teaching methods and learning activities

The problems and respective solution techniques will be explained during the lectures. At the same time a compiler for a toy language will be constructed by the students.

Evaluation Type

Distributed evaluation without final exam

Assessment Components

designation Weight (%)
Exame 70,00
Trabalho laboratorial 30,00
Total: 100,00

Calculation formula of final grade

0.3*coursework + 0.7*exam

Recommend this page Top
Copyright 1996-2024 © Faculdade de Ciências da Universidade do Porto  I Terms and Conditions  I Acessibility  I Index A-Z  I Guest Book
Page created on: 2024-11-09 at 10:00:26 | Acceptable Use Policy | Data Protection Policy | Complaint Portal