Patent US6351739B1 successfully refreshed from Google Patents.
Patent US6173441B1 successfully refreshed from Google Patents.
← Back to Patent Explorer
US6173441B1 Expired / Lapsed US ⏱️ 0.0 years remaining

Method and system for compiling source code containing natural language instructions

Assignee: Individual
•
Filing: 1998-10-16
•
Granted: 2001-01-09
•
Expires: 2018-10-16
📄 Original PDF 🌐 Google Patents 🔄 Sync Now

Abstract

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.

Inventors

  • 👤 Peter A. Klein

Bibliographic Details

Application Number —
Jurisdiction US
Data Source google_patents
Last Synchronized 2026-11-09 15:36
CPC Classifications
G; G06; G06F; G06F8/00; G06F8/40; G06F8/41; G06F8/30; G06F8/36

Claims Analysis

Total Claims: 26
Claim 1
Independent Claim 146 words
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.
Claim 2
Independent Claim 146 words
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.
Claim 3
Dependent Claim 37 words
The method of claim 1 , comprising generating a signature of each of the plurality of natural language instructions, and wherein each instruction declaration in the components contains at least in part a natural language instruction signature.
Claim 4
Dependent Claim 23 words
The method of claim 2 , wherein the step of generating the signature comprises generating the signature in accordance with a predefined template.
Claim 5
Dependent Claim 46 words
The method of claim 2 , wherein the step of selecting one or more components from the component database for each natural language instruction comprises selecting one or more components having an instruction declaration containing a signature matching the generated signature for the natural language instruction.
Claim 6
Dependent Claim 50 words
The method of claim 1 , comprising generating a message upon discovery of a given natural language instruction in the source code file or portion thereof for which at least one component having an instruction declaration associated with the given natural language instruction is not contained in the component database.
Claim 7
Dependent Claim 50 words
The method of claim 1 , wherein the step of managing the set of possible solutions comprises, for a first natural language instruction considered when the set of possible solutions is empty, establishing a possible solution for each of the one or more components selected for the natural language instruction.
Claim 8
Dependent Claim 61 words
The method of claim 6 , wherein the step of managing the set of possible solutions comprises, for a second natural language instruction considered when the set of possible solutions contains one or more possible solutions, determining whether any of the one or more selected components for the second natural language instruction is contained in a possible solution in the set.
Claim 9
Dependent Claim 64 words
The method of claim 7 , wherein the step of managing the set of possible solutions comprises, if at least one of the selected components for the second natural language instruction is contained in a possible solution in the set, eliminating from the set any possible solutions which do not contain at least one of the selected components for the second natural language instruction.
Claim 10
Dependent Claim 46 words
The method of claim 8 , wherein the step of managing the set of possible solutions comprises determining whether any of the eliminated possible solutions contains a component which is not contained in a possible solution remaining in the set, and labeling such component as banned.
Claim 11
Dependent Claim 31 words
The method of claim 9 , comprising determining whether any component selected for a given natural language instruction has been labeled as banned and reversing the selection of the banned component.
Claim 12
Dependent Claim 74 words
The method of claim 7 , wherein the step of managing comprising, if none of the one or more selected components for the second natural language instruction is contained in a possible solution in the set, adding each of the one or more selected components to each possible solution to create a new possible solution for each possible solution containing each of the one or more selected components for the second natural language instruction.
Claim 13
Dependent Claim 141 words
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.
Claim 14
Dependent Claim 141 words
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.
Claim 15
Dependent Claim 29 words
The system of claim 12 , wherein the solution manager comprises a memory for storing a plurality of possible solutions generated from the components selected by the components selector.
Claim 16
Dependent Claim 63 words
The system of claim 13 , wherein the solution manager comprises means for comparing one or more first possible solutions generated from one or more first components selected by the components selector for a first natural language instruction with one or more second possible solutions generated from one or more second components selected by the components selector for a second natural language instruction.
Claim 17
Dependent Claim 23 words
The system of claim 12 , wherein the component database comprises instruction declarations containing at least in part signatures of natural language instructions.
Claim 18
Dependent Claim 23 words
The system of claim 15 , wherein the components selector comprises a signature generator for generating a signature for each natural language instruction.
Claim 19
Independent Claim 144 words
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.
Claim 20
Independent Claim 144 words
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.
Claim 21
Dependent Claim 35 words
The system of claim 17 , comprising a processing means for generating a signature for each of the natural language instructions and wherein the database comprises a data structure linking components, instruction declarations, and signatures.
Claim 22
Dependent Claim 30 words
The system of claim 18 , wherein the processing means for generating a signature for each of the natural language instructions generates the signature in accordance with a predefined template.
Claim 23
Dependent Claim 54 words
The system of claim 18 , wherein the processing means for selecting from the database those components having at least one instruction declaration associated with at least one of the natural language instructions selects one or more components having an instruction declaration containing a signature matching the generated signature for the natural language instruction.
Claim 24
Dependent Claim 29 words
The system of claim 17 , comprising a means for generating a message upon determination that a given natural language instruction cannot be associated with at least one component.
Claim 25
Dependent Claim 125 words
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.
Claim 26
Dependent Claim 125 words
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.

References Cited (Backward Citations)

US5179703A Cited
US5038296A Cited
US5530863A Cited
US5303332A Cited
US5640576A Cited
US5758160A Cited
US5794050A Cited
US5778231A Cited
US5768593A Cited
US5956513A Cited

USPTO Annuity & Maintenance Windows

Annuity Stage Window Opens Payment Deadline Surcharge Period Until Estimated Fee Status
3.5 Years (Year 4) 2004-01-09 2004-07-10 2005-01-09 $2000.00 Window Closed / Lapsed
7.5 Years (Year 8) 2008-01-09 2008-07-10 2009-01-09 $3760.00 Window Closed / Lapsed
11.5 Years (Year 12) 2012-01-09 2012-07-10 2013-01-09 $7700.00 Window Closed / Lapsed

Assigned Categories & Tags

No categories assigned to this patent yet.

Assign Category Tag