Return to search

Implementation of a Recoder Front-End

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.

Identiferoai:union.ndltd.org:UPSALLA1/oai:DiVA.org:vxu-5553
Date January 2009
CreatorsSong, Yuanjun
PublisherVäxjö universitet, Matematiska och systemtekniska institutionen
Source SetsDiVA Archive at Upsalla University
LanguageEnglish
Detected LanguageEnglish
TypeStudent thesis, info:eu-repo/semantics/bachelorThesis, text
Formatapplication/pdf
Rightsinfo:eu-repo/semantics/openAccess
RelationLÄRARUTBILDNINGEN, ; 1650-2647

Page generated in 0.002 seconds