Integration of semantic verication into Java compilers
This paper introduces a method for static semantic analysis of source codes at com- pilation time directly within standard compilers. The method is implemented via unied integration with Java compilers to get the full access to Abstract Syntax Tree (AST) of compiled les after the semantic analysis s...
Gespeichert in:
Veröffentlicht in: | Modelirovanie i analiz informacionnyh sistem 2010-12, Vol.17 (4), p.70-77 |
---|---|
Hauptverfasser: | , |
Format: | Artikel |
Sprache: | eng |
Schlagworte: | |
Online-Zugang: | Volltext |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | This paper introduces a method for static semantic analysis of source codes at com- pilation time directly within standard compilers. The method is implemented via unied integration with Java compilers to get the full access to Abstract Syntax Tree (AST) of compiled les after the semantic analysis stage of compilation process. The unied integration is implemented by common AST interfaces and adapters to AST implemen- tations of Sun/Oracle javac and Eclipse Compiler for Java (ecj) compilers. This method provides transparent integration with Eclipse and Netbeans IDE without a need for any special plugins. Several examples of program verication rules are presented to demon- strate the method. |
---|---|
ISSN: | 1818-1015 2313-5417 |