Patent ID: 7694283
Filing Date: 2010-04-06
Classification: G06F

Abstract:
1. A computer-implemented method for generating specification data from a source program in which arithmetic operations are described in a method format, comprising: identifying a priority conforming to a predetermined arithmetic rule for an arithmetic operational method included in an arithmetic operational statement that is included in a source program and defines an arithmetic operation, and registering said arithmetic operational method and said priority into a storage device; if it is judged based on data stored in said storage device that a plurality of arithmetic operational methods are included in an arithmetic operational statement, and an arithmetic operational method with first priority is defined as an instance of an arithmetic operational method with second priority, generating specification data and storing said specification data into a specification data storage by converting said arithmetic operational method with first priority and an instance and an argument of said arithmetic operational method with first priority into a first subexpression using an arithmetic operational sign in accordance with a predetermined rule, adding parentheses representing that the arithmetic operation are carried out with priority, to said first subexpression, converting said arithmetic operational method with second priority and an argument of said arithmetic operational method with second priority into a second subexpression using an arithmetic operational sign in accordance with said predetermined rule, and linking said second subexpression with said first subexpression, and wherein said second priority is higher than said first priority.