System, method, and computer program product for altering a line of code
First Claim
Patent Images
1. A method, comprising:
- identifying a line of code, by a processor, wherein the line of code is one of a plurality of lines of code within a source file written utilizing both a programming language and one or more syntax extensions to the programming language;
determining, by a processor, that a first operator in the line of code associated with a first syntax extension of the one or more syntax extensions conflicts with a second operator associated with the programming language, wherein the first operator is specific to a hardware description language;
altering the line of code, by the processor, so that the altered line of code is written using a third operator that does not conflict with the second operator;
speculatively converting a fourth operator in a second line of code to a block of code configured to dynamically check if an operand associated with the fourth operator is part of an aFlow class; and
returning the altered line of code.
1 Assignment
0 Petitions
Accused Products
Abstract
A system, method, and computer program product are provided for altering a line of code. In use, a line of code is identified, where the line of code is written utilizing both a programming language and one or more syntax extensions to the programming language. Additionally, the line of code is altered so that the altered line of code is written using only the programming language. Further, the altered line of code is returned.
-
Citations
19 Claims
-
1. A method, comprising:
-
identifying a line of code, by a processor, wherein the line of code is one of a plurality of lines of code within a source file written utilizing both a programming language and one or more syntax extensions to the programming language; determining, by a processor, that a first operator in the line of code associated with a first syntax extension of the one or more syntax extensions conflicts with a second operator associated with the programming language, wherein the first operator is specific to a hardware description language; altering the line of code, by the processor, so that the altered line of code is written using a third operator that does not conflict with the second operator; speculatively converting a fourth operator in a second line of code to a block of code configured to dynamically check if an operand associated with the fourth operator is part of an aFlow class; and returning the altered line of code. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A computer program product embodied on a computer readable medium, comprising:
-
code for identifying a line of code, wherein the line of code is one of a plurality of lines of code within a source file written utilizing both a programming language and one or more syntax extensions to the programming language; code for determining that a first operator in the line of code associated with a first syntax extension of the one or more syntax extensions conflicts with a second operator associated with the programming language, wherein the first operator is specific to a hardware description language; code for altering the line of code so that the altered line of code is written using a third operator that does not conflict with the second operator; speculatively converting a fourth operator in a second line of code to a block of code configured to dynamically check if an operand associated with the fourth operator is part of an aFlow class; and code for returning the altered line of code. - View Dependent Claims (13, 14, 15)
-
-
16. A system, comprising:
-
a processor for; identifying a line of code, wherein the line of code is one of a plurality of lines of code within a source file written utilizing both a programming language and one or more syntax extensions to the programming language; determining that a first operator in the line of code associated with a first syntax extension of the one or more syntax extensions conflicts with a second operator associated with the programming language, wherein the first operator is specific to a hardware description language; altering the line of code so that the altered line of code is written using a third operator that does not conflict with the second operator; speculatively converting a fourth operator in a second line of code to a block of code configured to dynamically check if an operand associated with the fourth operator is part of an aFlow class; and returning the altered line of code. - View Dependent Claims (17, 18, 19)
-
Specification