×

Converting from incorrect program code to correct program code

  • US 9,304,743 B1
  • Filed: 04/14/2015
  • Issued: 04/05/2016
  • Est. Priority Date: 06/03/2014
  • Status: Active Grant
First Claim
Patent Images

1. A 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;

    receive input text via a programming environment associated with a programming language;

    tokenize the input text to generate tokenized text;

    identify an error within the tokenized text;

    identify an invalid token string, based on the tokenized text and the identified error, that is invalid for the programming language;

    identify a token category pattern based on the invalid token string,the token category pattern being a first sequence of token categories;

    identify a replacement pattern based on the token category pattern and/or the error,the replacement pattern being a second sequence of token categories that is different from the first sequence of token categories;

    identify a replacement token string based on the replacement pattern;

    determine valid program code, associated with the programming language,based on the replacement token string; and

    provide the valid program code.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×