Compiladores: Difference between revisions

From Wiki**3

No edit summary
No edit summary
Line 8: Line 8:
* "[[Construção de Compiladores em C++ usando Objectos e Padrões]]" [http://www.l2f.inesc-id.pt/~david/ist/docencia/compiladores/howto.pdf PDF] (CDK3)
* "[[Construção de Compiladores em C++ usando Objectos e Padrões]]" [http://www.l2f.inesc-id.pt/~david/ist/docencia/compiladores/howto.pdf PDF] (CDK3)
* Apêndice B: [http://www.l2f.inesc-id.pt/~david/ist/docencia/compiladores/2005-2006/200605240840-pf.pdf Postfix Code Generator]
* Apêndice B: [http://www.l2f.inesc-id.pt/~david/ist/docencia/compiladores/2005-2006/200605240840-pf.pdf Postfix Code Generator]
* Material de apoio à construção de compiladores:
* Material de apoio à construção de compiladores [http://download.opensuse.org/repositories/home:/d4vid:/co11/ download]
** '''CDK4''' (Compiler Development Kit): [https://dspace.ist.utl.pt/bitstream/2295/294024/1/libcdk4-200903152029.tar.bz2 download] [http://www.l2f.inesc-id.pt/~david/ist/docencia/compiladores/libcdk4/ manual]
** '''CDK''' (Compiler Development Kit)
** '''RTS''' (Run-Time Support): [https://dspace.ist.utl.pt/bitstream/2295/294512/1/librts-200903170001.tar.bz2 download], [[Manual da RTS|manual]], and
** '''RTS''' (Run-Time Support), and
** '''Compact''' (simple but functional compiler): [https://dspace.ist.utl.pt/bitstream/2295/294026/1/compact-200903152029.tar.bz2 download]
** '''Compact''' (simple but functional compiler)
** [[Quick-and-Dirty Guide to Transforming Compact into your Compiler]] (use at your own risk)
** [[Quick-and-Dirty Guide to Transforming Compact into your Compiler]] (use at your own risk)


Line 22: Line 22:
=== Execução de xml2dot ===
=== Execução de xml2dot ===


The xml2dot JAR is in the /tmp directory of the official machine.
The xml2dot JAR can be Googled and used as shown below:


Example for the NX6 language:
Example for the NX6 language:

Revision as of 19:52, 12 March 2011

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 NX6 language:

nx6 -target xml sourcefile.nx6
java -cp xml2dot.jar xml2dot.xml2dot sourcefile.xml