The patent badge is an abbreviated version of the USPTO patent document. The patent badge does contain a link to the full patent document.

The patent badge is an abbreviated version of the USPTO patent document. The patent badge covers the following: Patent number, Date patent was issued, Date patent was filed, Title of the patent, Applicant, Inventor, Assignee, Attorney firm, Primary examiner, Assistant examiner, CPCs, and Abstract. The patent badge does contain a link to the full patent document (in Adobe Acrobat format, aka pdf). To download or print any patent click here.

Date of Patent:
Jul. 27, 2021

Filed:

Apr. 28, 2020
Applicant:

Microsoft Technology Licensing, Llc, Redmond, WA (US);

Inventors:

Mark Alistair Wilson-Thomas, Mercer Island, WA (US);

Ivan Radicek, Vienna, AT;

Arjun Radhakrishna, Seattle, WA (US);

Ashish Tiwari, Sammamish, WA (US);

Sumit Gulwani, Sammamish, WA (US);

Titus Barik, Issaquah, WA (US);

Assignee:
Attorney:
Primary Examiner:
Int. Cl.
CPC ...
G06F 9/44 (2018.01); G06F 8/33 (2018.01); G06F 8/34 (2018.01);
U.S. Cl.
CPC ...
G06F 8/33 (2013.01); G06F 8/34 (2013.01);
Abstract

In a computer program, sublanguage code snippets implement regular expressions, pattern matching, print formatting, component selection, and other operations, using sublanguage syntax and semantics different from the source code in which snippets are embedded. Writing snippets that give desired execution results has been difficult and interfered with software development workflow. But sublanguage snippet presentation functionality in an enhanced development tool automatically detects source code locations suitable for snippets, receives snippet execution result examples from a developer, submits the examples to synthesis-by-example technology, gets autosynthesized snippets that give those results, and displays snippet insertion candidates with guidance. A snippet selected by the developer replaces the example(s) in the source code, improving developer productivity and program execution accuracy with respect to documented test cases. Examples may be autogenerated, including representative examples or disambiguating examples. Examples may be preserved in comments. Performance criteria for sublanguage snippet presentation are also described.


Find Patent Forward Citations

Loading…