Using program code to generate help information, and using help information to generate program code

US9645798B1 · US · B1

Patent metadata
FieldValue
Publication numberUS-9645798-B1
Application numberUS-201514842400-A
CountryUS
Kind codeB1
Filing dateSep 1, 2015
Priority dateMar 28, 2014
Publication dateMay 9, 2017
Grant dateMay 9, 2017

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A device may determine to provide help information associated with a portion of program code included in a program and provided via a user interface of a programming environment. The device may obtain generic help information, associated with the portion of program code, based on determining to provide the help information. The device may determine a set of rules for modifying the generic help information using the portion of program code. The device may analyze the program, using the set of rules, to identify information, included in the program, to be included in modified help information. The device may modify the generic help information, to generate the modified help information, using the information identified based on analyzing the program. The device may provide the modified help information for display via the user interface.

First claim

Opening claim text (preview).

What is claimed is: 1. A method comprising: analyzing, by one or more processors, first program code based on receiving the first program code, the first program code comprising a variable and being provided for display on a user interface, generating, by the one or more processors, help information for the first program code based on analyzing the first program code, the help information comprising one or more possible actions to take on the variable, the one or more possible actions being associated with one or more functions, providing, by the one or more processors, the help information for display on the user interface with the first program code, generating, by the one or more processors, second program code for executing at least one of the one or more possible actions on the variable included in the first program code, and inserting, by the one or more processors, a selected portion of the second program code into the first program code based on receiving a user instruction. 2. The method of claim 1 , further comprising: generating a result for each of the one or more possible actions to take on the variable and providing the result for display on the user interface. 3. The method of claim 2 , where generating the result comprises: generating the second program code for each of the one or more possible actions to take on the variable and executing the second program code. 4. The method of claim 3 , where inserting the selected portion of the second program code comprises: selecting the selected portion of the second program code corresponding to a selected result generated from executing the second program code. 5. The method of claim 1 , where inserting the selected portion of the second program code comprises: inserting the selected portion of the second program code at a predetermined location. 6. The method of claim 5 , where the predetermined location is chosen by a user. 7. The method of claim 1 , where the help information comprises a description of the one or more possible actions, and generating the second program code comprises: generating the second program code based on at least part of the description. 8. A device comprising: one or more processors to: analyze first program code upon receiving the first program code, the first program code comprising a variable and being provided for display on a user interface, generate help information for the first program code based on analyzing the first program code, the help information comprising one or more possible actions to take on the variable, the one or more possible actions being associated with one or more functions, provide the help information for display on the user interface with the first program code, generate second program code for at least one of the one or more possible actions, and insert a selected portion of the second program code into the first program code based on receiving a user instruction. 9. The device of claim 8 , where the one or more processors are further to: generate a result for each of the one or more possible actions to take on the variable and provide the result for display on the user interface. 10. The device of claim 9 , where the one or more processors, when generating the result, are to: generate the second program code for each of the one or more possible actions to take on the variable and executing the second program code. 11. The device of claim 10 , where the one or more processors, when inserting the selected portion of the second program code, are to: select the selected portion of the second program code corresponding to a selected result generated from executing the second program code. 12. The device of claim 8 , where the one or more processors, when inserting the selected portion of the second program code, are to: insert the selected portion of the second program code at a predetermined location. 13. The device of claim 12 , where the predetermined location is chosen by a user. 14. The device of claim 8 , where the help information comprises a description of the one or more possible actions, and the one or more processors, when generating the second program code, are to: generate the second program code based on at least part of the description. 15. A non-transitory computer-readable medium storing instructions, the instructions comprising: one or more instructions that, when executed by one or more processors, cause the one or more processors to: analyze first program code based on receiving the first program code, the first program code comprising a variable and being provide for display on a user interface, generate help information for the first program code based on analyzing the first program code, the help information comprising one or more possible actions to take on the variable, the one or more possible actions being associated with one or more functions, provide the help information for display on the user interface with the first program code, generate second program code for at least one of the one or more possible actions, and insert a selected portion of the second program code into the first program code based on receiving a user instruction. 16. The non-transitory computer-readable medium of claim 15 , where the one or more instructions, when executed by the one or more processors, further cause the one or more processors to: generate a result for each of the one or more possible actions to take on the variable and provide the result for display on the user interface. 17. The non-transitory computer-readable medium of claim 16 , where the one or more instructions, that cause the one or more processors to generate the result, further cause the one or more processors to: generate the second program code for each of the one or more possible actions to take on the variable and executing the second program code. 18. The method of claim 1 , where the one or more functions are capable of using the variable as an input. 19. The device of claim 9 , where the one or more functions are capable of using the variable as an input. 20. The non-transitory computer-readable medium of claim 15 , where the one or more functions are capable of using the variable as an input.

Assignees

Inventors

Classifications

  • G06F9/453Primary

    Help systems · CPC title

  • G06F8/34Primary

    Graphical or visual programming · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US9645798B1 cover?
A device may determine to provide help information associated with a portion of program code included in a program and provided via a user interface of a programming environment. The device may obtain generic help information, associated with the portion of program code, based on determining to provide the help information. The device may determine a set of rules for modifying the generic help …
Who is the assignee on this patent?
Mathworks Inc
What technology area does this patent fall under?
Primary CPC classification G06F9/453. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue May 09 2017 00:00:00 GMT+0000 (Coordinated Universal Time) (B1). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).