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 | |||
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
Tópicos Teóricos
- Tópicos sobre Construção de Compiladores (teoria e prática)
Tópicos de Desenvolvimento
- "Construção de Compiladores em C++ usando Objectos e Padrões" PDF (CDK3)
- Apêndice B: Postfix Code Generator
- 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.