Invention Grant
US08656362B2 System, method and program product for correcting semantic errors in code using peer submitted code snippets
失效
系统,方法和程序产品,用于使用对等提交的代码片段来纠正代码中的语义错误
- Patent Title: System, method and program product for correcting semantic errors in code using peer submitted code snippets
- Patent Title (中): 系统,方法和程序产品,用于使用对等提交的代码片段来纠正代码中的语义错误
-
Application No.: US13486567Application Date: 2012-06-01
-
Publication No.: US08656362B2Publication Date: 2014-02-18
- Inventor: Swaminathan Balasubramanian
- Applicant: Swaminathan Balasubramanian
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agency: Law Office of Jim Boice
- Agent John R. Pivnichny
- Main IPC: G06F9/44
- IPC: G06F9/44

Abstract:
A method, system and/or program product corrects semantic errors in code in an integrated development environment. The method includes inputting, using a code editor, code being developed in an integrated development environment. One or more nodes, in a syntax tree constructed for inputting the code, are identified as containing semantic errors pertaining to use of a third-party library. A primary executable code snippet and a secondary code snippet for correcting the semantic errors are displayed. If execution of the primary code snippet does not correct the semantic errors, then the secondary code snippet is automatically executed.
Public/Granted literature
Information query