|
Acadêmico(a): Júlio Vilmar Gesser |
Título: Compilador Java 5.0 para Gerar Código C++ para Plataforma Palm Os |
|
Abstract: |
This work presents the development of a compiler for the Java 5.0 programming language, whose object code must be native executable for the Palm OS platform. For this, the compiler generates C++ code as intermediate code, being necessary to generate code to simulate the Java garbage collector. To assist the development of the compiler, the JavaCC was used to generate the lexical and syntactic analyzers, as well to construct the AST. The semantic analysis and the code generation were developed in Java and both go through the AST obtained in the syntactic analysis. Still some libraries of the Java API had been implemented in C++. Finally a case study implemented in Java to test the compiler is shown. |
|
|