Apparatus for aiding in generating a source code
OwnerTakaichi Katoinventor
Life of this patent
Estimating the term…
Abstract
When a necessary command term in a template indicated at the display in the apparatus for aiding in generating a source code is selected and a necessary parameter is input in an input area, the template indicates a source code the user desires to generate in a natural language. If a determiner determines that the necessary command term in the template has been selected and the necessary parameter has been input, a generator generates a source code corresponding to the statement in the natural language indicated in the template. The generated source code is displayed at a display. Therefor the apparatus can readily generate a source code based on an input or selected statement expressed in a natural language in a single display screen image.
Claims6
An apparatus for aiding in generating a source code including a plurality of statements comprising:
- a storage device storing a plurality of templates corresponding to said plurality of statements, said plurality of templates each including a selection area having a plurality of command terms indicated in a natural language for generating said statement, a plurality of input areas to be provided with a parameter for generating said statement, and a command button to be selected by the user in producing the source code for said statement;
- a display displaying a template selected by the user among said plurality of templates;
- a determiner determining whether or not the user has selected a command term necessary for generating a desired statement in said selection area and input a necessary parameter for generating the desired statement to said input area when said command button in said displayed template is selected by said user;
- and
- a generator generating the source code for said desired statement based on said selected command term and said input parameter when said determiner determines that said necessary command term has been selected and said necessary parameter has been input,
- said display means displaying the source code generated by said generator.
A program product for aiding in generating a source code including a plurality of statements, executable by a computer comprising a storage device storing a plurality of templates corresponding to said plurality of statements,
- said plurality of templates each including:
- a selection area having a plurality of command terms indicated in a natural language for generating said statement;
- a plurality of input areas to be provided with a parameter for generating said statement;
- and
- a command button selected by the user for enabling said computer to generate the source code for said statement,
- said program product for enabling said computer to execute the steps of:
- displaying a template selected among said plurality of templates at a display for said computer;
- determining whether or not a necessary command term for generating a desired statement has been selected in the selection area and a necessary parameter for generating the desired statement has been input to the input area when said command button in the displayed template is selected;
- generating the source code for the desired statement based on the selected command term and input parameter when said determiner determines that the necessary command term has been selected and the necessary parameter has been input;
- and
- displaying the generated source code at said display.
An apparatus for translating a source code made of a plurality of statements into a natural language, said plurality of statements including a plurality of command codes, said apparatus comprising:
- a storage device storing a plurality of templates and a translation table having said plurality of command codes corresponding to said plurality of templates each including a selection area having a plurality of command terms indicated in a natural language and corresponding to said plurality of command codes, and a plurality of input areas for indicating parameters corresponding to said plurality of command terms;
- a display displaying the source code;
- a template selector selecting the template corresponding to the command code in the statement selected in the source code based on said translation table;
- a term selector selecting the command term corresponding to the command code in the selection area in the selected template;
- and
- a parameter provider providing a parameter in the selected statement to the input area corresponding to the selected command term,
- said display displaying the template selected by said template selector after said term selector selects the command term and said parameter provider provides the parameter.
Dependencies are inferred from the claim text.