Patent ID: 8181167
Filing Date: 2012-05-15
Classification: G06F

Abstract:
1. A method for producing a source code intermediate representation of a source code package, the source code intermediate representation comprising a plurality of intermediate representation data sets, the method comprising: providing a data storage; analyzing a first source code listing of the source code package using a source code processor for a syntax, wherein the source code processor performs at least parsing of the first source code listing using the syntax; analyzing a second source code listing of the source code package using the source code processor; creating a plurality of listing identifiers comprising a first listing identifier indicating a first listing mapping to the first source code listing and a second listing identifier indicating a second listing mapping to the second source code listing; creating one or more processor identifiers comprising a processor identifier indicating a processor mapping to the source code processor; gathering source code information for composing an intermediate representation data set for a first construct of a plurality of constructs recognized by said source code processor, wherein the intermediate representation data set captures data fields comprising a first location of the first construct, a processor identification of said source code processor, a category for the intermediate representation data set, and an attribute describing the first construct; inserting the intermediate representation data set into a data set arrangement using the first location, wherein the data set arrangement uses at least one value of the first location for a position of the intermediate representation data set in the data set arrangement; and saving the data set arrangement into the data storage using a predetermined data format, whereby an application can identify and interpret the first construct in the first source code listing using the intermediate representation data set saved in the data storage.