Method and system for compiling source code containing natural language instructions
First Claim
1. A method for compiling a source code file or portion thereof comprising natural language instructions using a component database, the components in the component database each containing one or more instruction declarations each being associated with a natural language instruction, the method comprising:
- for each of a plurality of the natural language instructions in the source code, selecting from the component database one or more components having at least one instruction declaration associated with the natural language instruction;
managing a set of one or more possible solutions, at least some of the possible solutions each containing one or more components selected for a plurality of natural language instructions;
selecting one solution from the set of possible solutions; and
associating each of the plurality of natural language instructions with one of the components in the selected solution having an instruction declaration associated with the natural language instruction.
0 Assignments
0 Petitions
Accused Products
Abstract
A system and method for compiling source code comprising natural language declarations, natural language method calls, and natural language control structures into computer-executable object code is disclosed. The system and method allow the compilation of source code containing both natural language and computer language into computer-executable object code. The system and method use a component database, containing components and associated natural language instructions, to select one or more components having an instruction declaration associated with the natural language instruction. A solution manager is used to resolve ambiguities inherent in the use of natural language instructions in the source code.
81 Citations
22 Claims
-
1. A method for compiling a source code file or portion thereof comprising natural language instructions using a component database, the components in the component database each containing one or more instruction declarations each being associated with a natural language instruction, the method comprising:
-
for each of a plurality of the natural language instructions in the source code, selecting from the component database one or more components having at least one instruction declaration associated with the natural language instruction;
managing a set of one or more possible solutions, at least some of the possible solutions each containing one or more components selected for a plurality of natural language instructions;
selecting one solution from the set of possible solutions; and
associating each of the plurality of natural language instructions with one of the components in the selected solution having an instruction declaration associated with the natural language instruction. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A computerized system for mapping natural language instructions in a source code file or portion thereof to instruction declarations contained in a plurality of program components, the system comprising:
-
a component database stored in a memory containing the plurality of program components each associated with one or more instruction declarations contained in the program component;
a components selector for matching each of the natural language instructions with an instruction declaration in the component database and for selecting the one or more components associated therewith;
a solution manager for identifying a solution comprising a set of one or more components such that each natural language instruction is associated with a component in the set; and
a converter for converting each natural language instruction to the instruction declaration contained in the component to which the natural language instruction is associated in the solution. - View Dependent Claims (13, 14, 15, 16)
-
-
17. A system for compiling a source code file comprising natural language instructions, or portion thereof, the system comprising:
-
a database stored on a computer-readable medium, the database comprising a data structure linking components and instruction declarations;
a processing means connected to the computer-readable medium for selecting from the database those components having at least one instruction declaration associated with at least one of the natural language instructions;
a memory for storing a set of one or more possible solutions, at least some of the possible solutions each containing one or more components selected for a plurality of natural language instructions;
a processing means for selecting one solution from the set of possible solutions; and
a processing means for associating each of the natural language instructions with one of the components in the selected solution having an instruction declaration associated with the natural language instruction. - View Dependent Claims (18, 19, 20, 21)
-
-
22. A memory for storing data for access by a program being executed on a computer for compiling a source code file, the source code file comprising natural language instructions, the memory comprising:
-
a data structure stored in the memory, the data structure including data used by the program, including;
a plurality of components, the components comprising objects, modules, and classes;
a plurality of natural language instruction declarations; and
a plurality of pointers linking the components and the natural language instruction declarations such that each component is linked to one or more natural language instruction declarations;
the data structure providing the program with the ability to select one or more components based on the presence of a natural language instruction declaration in the source code file.
-
Specification