VizzAnalyzer is a program analysis tool that can be used for analyzing software programs. It relies on so called Front-Ends for information extraction from various sources like C or Java source code. It allows analyzing different source code by mapping the language specific front-end meta-model onto a common meta-model, on which analysis are defined. Right now we use the Eclipse Parser for parsing Java source code. This requires an Eclipse installation involving a large number of dependencies in order to work with Java source code. Yet, this is not always feasible; we want to be independent from Eclipse using an alternative parser. Recoder is a Java meta-programming application program interface (API) that can be used to write Java programs that manipulate and analyze other Java programs. The Recoder framework provides over an application programming interface detailed access to the source code in form of an abstract syntax tree (AST). It has a small footprint and no external dependencies. We create the Recoder Front-End as alternative to the existing Eclipse front-end. This includes the definition of a mapping between Recoder Front-End Meta-Model to Common Meta-Model. The mapping result will be used by VizzAnalyzer to do further analysis work. This Bachelor thesis documents relevant theory regarding Recoder Front-End and discusses its development and implementation.
Identifer | oai:union.ndltd.org:UPSALLA1/oai:DiVA.org:vxu-5553 |
Date | January 2009 |
Creators | Song, Yuanjun |
Publisher | Växjö universitet, Matematiska och systemtekniska institutionen |
Source Sets | DiVA Archive at Upsalla University |
Language | English |
Detected Language | English |
Type | Student thesis, info:eu-repo/semantics/bachelorThesis, text |
Format | application/pdf |
Rights | info:eu-repo/semantics/openAccess |
Relation | LÄRARUTBILDNINGEN, ; 1650-2647 |
Page generated in 0.0022 seconds