Compiladores/Projecto de Compiladores: Difference between revisions

From Wiki**3

< Compiladores
Line 14: Line 14:


* [[Compiladores/Projecto de Compiladores/Máquina Virtual|Máquina Virtual]] - imagem de máquina virtual contendo todo o material de apoio
* [[Compiladores/Projecto de Compiladores/Máquina Virtual|Máquina Virtual]] - imagem de máquina virtual contendo todo o material de apoio
* [[Compiladores/Projecto de Compiladores/Tópicos de Desenvolvimento de Projectos Baseados na CDK e na RTS|Tópicos de Desenvolvimento de Projectos Baseados na CDK e na RTS]]
* [[Postfix Reference Guide]]
* [[Quick-and-Dirty Guide to Transforming Compact into your Compiler]] ('''obsolete''') (use at your own risk)
* "[[Construção de Compiladores em C++ usando Objectos e Padrões]]" [http://www.l2f.inesc-id.pt/~david/ist/docencia/compiladores/howto.pdf PDF] (''outdated'') (CDK3)
* [[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 (make & cvs)|Tools and Development Environment]] (small guide to practical tools: make and cvs)


[[category:Projecto de Compiladores|P]]
== Using xml2dot to draw ASTs ==
[[category:Compiladores|P]]
 
[[category:Ensino|P]]
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.
 
[[category:Projecto de Compiladores]]
[[category:Compiladores]]
[[category:Ensino]]

Revision as of 21:56, 14 February 2015

Introdução

Manual de Referência da Linguagem

Material de Apoio e Testes

Material Diverso

Using xml2dot to draw ASTs

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.