Generating source code
Abstract
Techniques for generating source code are included herein in which a set of semantic rules for the source code may be received. Also, a set of initialization values may be received, wherein the set of initialization values comprises a set of input values and a set of output values. Furthermore, a weighted data structure may be generated. In addition, the source code may be generated based on the weighted data structure and the set of semantic rules. The source code can also be determined to have an accuracy above a threshold based at least in part on the set of initialization values and an output value from the source code. Additionally, the source code can be returned based on the set of initialization values.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 28 · Forward citations: 12.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method, executed by a processor, for generating source code comprising: generating a weighted data structure by combining similar source code samples identified using natural language processing; generating a set of semantic rules for the source code by performing semantic natural language process analysis on the similar previously identified source code samples, the set of semantic rules indicating programming language syntax rules for the source code being generated; generating the source code based on the weighted data structure and the set of semantic rules; receiving a set of initializa
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (12 of 12 total)
References Cited — Backward Prior Art (28)
Non-Patent Literature (5)
- "36 Human-Competitive Results Produced by Genetic Programming", retrieved on Oct. 8, 2012, 4 pages, available at: http://www.geneticprogramming.com/humancompetitive.html.
- "A Source of Information About the Field of Genetic Programming and the Field of Genetic and Evolutionary Computation", Jul. 8, 2007, 10 pages, available at: http://www.genetic-programming.org/.
- "Automatic programming", Wikipedia, the free encyclopedia, retrieved on Oct. 8, 2012, 4 pages, available at: http://en.wikipedia.org/wiki/Automatic-programming#Generative-programming.
- "Genetic programming", From Wikipedia, the free encyclopedia, retrieved on Oct. 8, 2012, 10 pages available at: http://en.wikipedia.org/wiki/Genetic-programming.
- "Metaprogramming", From Wikipedia, the free encyclopedia, retrieved on Oct. 8, 2012, 4 pages, available at: http://en.wikipedia.org/wiki/Metaprogramming.