Compiladores: Difference between revisions
From Wiki**3
Line 16: | Line 16: | ||
* [[Compiladores/Aula Prática 05|Aula Prática 05]] - Gramáticas. Conjuntos FIRST e FOLLOW. Análise sintáctica descendente LL(1). | * [[Compiladores/Aula Prática 05|Aula Prática 05]] - Gramáticas. Conjuntos FIRST e FOLLOW. Análise sintáctica descendente LL(1). | ||
* [[Compiladores/Aula Prática 06|Aula Prática 06]] - Gramáticas atributivas. Atributos herdados e atributos sintetizados. | * [[Compiladores/Aula Prática 06|Aula Prática 06]] - Gramáticas atributivas. Atributos herdados e atributos sintetizados. | ||
* [[Compiladores/Aula Prática 07|Aula Prática 07]] - | * [[Compiladores/Aula Prática 07|Aula Prática 07]] - Ferramenta YACC. | ||
* [[Compiladores/Aula Prática 08|Aula Prática 08]] - Análise ascendente LR(0) e SLR(1). Items LR(0). | * [[Compiladores/Aula Prática 08|Aula Prática 08]] - Análise ascendente LR(0) e SLR(1). Items LR(0). | ||
* [[Compiladores/Aula Prática 09|Aula Prática 09]] - Análise sintáctica ascendente LALR(1). Lookaheads. Items LR(1). | * [[Compiladores/Aula Prática 09|Aula Prática 09]] - Análise sintáctica ascendente LALR(1). Lookaheads. Items LR(1). |
Revision as of 15:45, 9 February 2015
Tópicos Teóricos
- Tópicos sobre Construção de Compiladores (teoria e prática)
Testes de Avaliação (por data)
Aulas Práticas
- Aula Prática 01 - Revisões sobre programação em C++.
- Aula Prática 02 - Revisões sobre padrões de desenho.
- Aula Prática 03 - Análise lexical. Analisadores lexicais.
- Aula Prática 04 - Análise lexical com a ferramenta Flex.
- Aula Prática 05 - Gramáticas. Conjuntos FIRST e FOLLOW. Análise sintáctica descendente LL(1).
- Aula Prática 06 - Gramáticas atributivas. Atributos herdados e atributos sintetizados.
- Aula Prática 07 - Ferramenta YACC.
- Aula Prática 08 - Análise ascendente LR(0) e SLR(1). Items LR(0).
- Aula Prática 09 - Análise sintáctica ascendente LALR(1). Lookaheads. Items LR(1).
- Aula Prática 10
- Aula Prática 11
- Aula Prática 12
- Aula Prática 13
Pautas
- Pautas 2014-2015: Pauta Global da Disciplina
- Pautas 2014-2015: Pauta Global do Projecto
- Pautas 2014-2015: Pauta do Projecto: Entrega "zero"
- Pautas 2014-2015: Pauta do Projecto: Entrega Intermédia
- Pautas 2014-2015: Pauta do Projecto: Entrega Final
- Pautas 2014-2015: Pauta das Aulas Práticas
- Pautas 2014-2015: Pauta do Teste 1
- Pautas 2014-2015: Pauta do Teste 2
- Pautas 2014-2015: Pauta do Teste 1 (recurso)
- Pautas 2014-2015: Pauta do Teste 2 (recurso)
Tópicos de Desenvolvimento
- Material de apoio à construção de compiladores download
- CDK (Compiler Development Kit)
- RTS (Run-Time Support), and
- Compact (simple but functional compiler)
- Quick-and-Dirty Guide to Transforming Compact into your Compiler (use at your own risk)
Tópicos de Apoio
- Tópicos Rápidos sobre C++ - A Guide for the Perplexed (with examples)
- Quick topics on compiling and linking in C/C++
- Tools and Development Environment (small guide to practical tools: make and cvs)
Execução de xml2dot
The xml2dot JAR can be Googled and used as shown below:
Example for the Compact language:
compact myprog.cpt -target xml java -cp xml2dot.jar xml2dot.xml2dot myprog.xml
Note that "compact" is assumed to be available in the PATH. Otherwise, the explicit path must be provided, e.g., ./compact or other specification.