Difference between revisions of "Compiladores/Aula Prática 06"

From Wiki**3

< Compiladores
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
{{TOCright}}
 
{{TOCright}}
== Tópicos ==
+
== Tópicos Teóricos ==
Gramáticas atributivas. Atributos herdados e atributos sintetizados.
+
* Gramáticas atributivas. Atributos herdados e atributos sintetizados.
  
== Exercício 1: Semáforos ==
+
== Tópicos Práticos ==
 +
* Ferramenta YACC (bison).
  
* Ver: [[Attribute Grammars/Exercise 1: Traffic Light]]
+
== Exercício 1 ==
  
== Exercício 2: Números ==
+
* Ver: [[The YACC Parser Generator/Exercise 2]]
  
* Ver: [[Attribute Grammars/Exercise 2: Numbers]]
+
== Exercício 2: Parênteses Curvos ==
  
== Exercício 3: Expressões ==
+
* Ver: [[The YACC Parser Generator/Exercise 3]]
  
* Ver: [[Attribute Grammars/Exercise 3: Expressions]]
+
== Exercício 3: Calculadora Lógica ==
 +
 
 +
* Ver: [[The YACC Parser Generator/Exercise 4]]
  
 
== Resolução ==
 
== Resolução ==

Latest revision as of 09:55, 25 May 2022

Tópicos Teóricos

  • Gramáticas atributivas. Atributos herdados e atributos sintetizados.

Tópicos Práticos

  • Ferramenta YACC (bison).

Exercício 1

Exercício 2: Parênteses Curvos

Exercício 3: Calculadora Lógica

Resolução

As ligações acima contêm as soluções para os exercícios propostos.

Procurar resolver sem consultar.