Apparatus for analyzing source code
First Claim
1. In a computer system, apparatus for analyzing source code comprising:
- an analysis member which extracts programming semantics information from an input source code of a user desired program;
data storage memory supported independently of the analysis member for receiving from the analysis member extracted programming semantics information and for holding said extracted programming semantics information; and
query means enabling a user to request and obtain desired information about the input source code from the data storage memory, the user analyzing the source code from the obtained information.
0 Assignments
0 Petitions
Accused Products
Abstract
Apparatus in a computer system provides source code analysis. The apparatus includes an analysis member which extracts programming semantics information from an input source code. The analysis member operates according to the programming language of the source code as defined by a grammar mechanism. The analysis member employs a database interface which enables the extracted programming semantics information to be placed in a user desired database for subsequent recall by a desired query system. The database and query system may be pre-existing elements which are supported by a digital processor independently of the analysis member. A relational database with an SQL query system may be used.
226 Citations
19 Claims
-
1. In a computer system, apparatus for analyzing source code comprising:
-
an analysis member which extracts programming semantics information from an input source code of a user desired program; data storage memory supported independently of the analysis member for receiving from the analysis member extracted programming semantics information and for holding said extracted programming semantics information; and query means enabling a user to request and obtain desired information about the input source code from the data storage memory, the user analyzing the source code from the obtained information. - View Dependent Claims (2, 3, 4, 5)
-
-
6. In a computer system, apparatus for analyzing source code comprising:
-
a lexical scanner for separating an input source code of a user chosen program, the lexical scanner separating the source code into tokens according to programming language of the source code; a parser for receiving the tokens from the lexical scanner and determining valid syntactic structure of the tokens; semantic analyzing means responsive to the parser for extracting programming semantics constructs from the input source code and therewith generating a multiplicity of programming semantics information of the input source code; and interface means for receiving the programming semantics information from the semantic analyzing means and formatting the programming semantics information such that the programming semantics information is accessible through a user desired database. - View Dependent Claims (7, 8, 9, 10)
-
-
11. In a computer system, apparatus for analyzing source code comprising:
-
a general purpose relational database which is accessible by various tasks and supported by independent management means; an analysis member for extracting programming semantics information from an input source code of a subject program; a database interface component coupled to the analysis member for formatting and placing the extracted programming semantics information into the general purpose relational database; and a structured query language for accessing user desired programming semantics information from the database upon user command, a user being able to analyze the source code from the accessed information.
-
-
12. In a computer system, a method of analyzing source code, the steps comprising:
-
providing apparatus for extracting programming semantics information from an input source code of a user desired program; formatting the extracted information for storage in a preexisting database supported by independent management means; storing the formatted information in the database; and requesting and obtaining desired programming semantics information from the database using query means. - View Dependent Claims (13, 14, 15, 16, 17)
-
-
18. In a computer system, a method of providing information about a user selected source code for user analysis of the source code, the steps comprising:
-
extracting programming semantics information from each file of an input source code, the step of extracting including for each file, isolating the extracted information of the file from the extracted infromation of the other files; formatting the extracted information for storage in and access through a user desired database system; and through a query system coupled to the database system, providing desired programming semantics information from the database upon user request. - View Dependent Claims (19)
-
Specification