
- 6 ECTS
- 2nd Semester
- Exam: Not specified
Feedback
5 months ago
O professor do taguspark (Nuno Lopes) parece que recusa-se a querer esclarecer dúvidas ou a ajudar
O projeto tem 3 entregas: as duas primeiras são fáceis mas a última é puxada
Quaisquer falhas que entregas anteriores possam ter, terão de ser corrigidas autonomamente pois não é disponibilizada nenhuma solução
As fichas, no meu ano, eram somente práticas e fáceis mas como as notas eram relativamente altas o professor começou a colocar perguntas teóricas e mais difíceis
5 months ago
About the course
Objectives
Introductory course in compiler design with emphasis on deterministic language analysis and code generation, as well as the development process and its tools. Specification of lexical, syntactic and semantic analysis, using specific tools; understand the principles used by those parsers; develop a compiler that parses a given language an produces executable code; apply these concepts and tools to other related problems requiring deterministic analysis.
Syllabus
Unix programming environment: gcc, gdb, cvs, make, lex and yacc tools. Regular languages and lexical analysis: modeling sentence recognition with finite automata (non-deterministic and deterministic). Context free languages: context free grammars, derivation trees, stack finite automata, descendent parsers LL(1) and bottom-up parsers LR(0)/ SLR(1) / LALR(1). Attribute grammars and attribute evaluation. Error treatment and recovery, semantic analysis. Intermediate code generation of abstract trees and postfix code. Topics of final code generation and optimization for "load and store" machines.
Cross Competence Component
There is no explicit component of soft-skills within this UC however the development of a project will promote student's transversal competences in Critical Thinking and Intra-personal Competences.
Laboratorial Component
Individual programming exercises (N), without consultation, every week in class. Only the N-3 best are taken into account
Programming And Computing Component
This course is offered in a degree where the skills defined by the Computing and Programming Commission are already satisfied.
Ethical Principles
All members of a group are responsible for the group’s work In any assessment, every student shall honestly disclose any help received and sources used. In an oral assessment, every student shall be able to present and answer questions about the entire assignment and solution.
Something missing or out of date?
Assessment
Project: 50%, minimum grade 9.5, with 3 deliveries (initial, intermediate and final) and individual applied final quiz. Laboratory exercises: 50% , minimum grade 9.5. All students are evaluated by the same criteria. A 180 min. quiz replaces the laboratory in the special season (época especial).
Has the assessment changed, or is something missing?
Bibliography
Bibliografia Principal
- **Compilers: Principles, Techniques, & Tools (2nd Edition): ** Alfred V. Aho, Monica S. Lam, Ravi Sethi, Jeffrey D. Ullman 2006 Pearson
- Compiladores - da Teoria à Prática: Pedro R. Santos, Thibault Langlois 2014 FCA
Bibliografia Secundária
- Engineering a Compiler: Keith Cooper, Linda Torczon 2011 Morgan Kaufmann
- Processadores de Linguagens, da concepção à implementação: Rui Gustavo Crespo 2001 IST Press
Missing a book or some materials?