Compiladores: Difference between revisions

From Wiki**3

Line 26: Line 26:
Example for the Compact language:
Example for the Compact language:


  ./compact myprog.cpt -target xml
  compact myprog.cpt -target xml
  java -cp xml2dot.jar xml2dot.xml2dot myprog.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.


[[category:Compiladores]]
[[category:Compiladores]]
[[category:Ensino]]
[[category:Ensino]]
[[en:Compilers]]
[[en:Compilers]]

Revision as of 10:57, 18 April 2012

Compiladores
Introdução ao Desenvolvimento de Compiladores
Aspectos Teóricos de Análise Lexical
A Ferramenta Flex
Introdução à Sintaxe
Análise Sintáctica Descendente
Gramáticas Atributivas
A Ferramenta YACC
Análise Sintáctica Ascendente
Análise Semântica
Geração de Código
Tópicos de Optimização

Tópicos Teóricos

Tópicos de Desenvolvimento

Tópicos de Apoio

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.