Translating between programming languages using machine learning
US-11842174-B2 · Dec 12, 2023 · US
US12541343B2 · US · B2
| Field | Value |
|---|---|
| Publication number | US-12541343-B2 |
| Application number | US-202318098000-A |
| Country | US |
| Kind code | B2 |
| Filing date | Jan 17, 2023 |
| Priority date | Jan 17, 2023 |
| Publication date | Feb 3, 2026 |
| Grant date | Feb 3, 2026 |
A practical reading order for non-experts. Skip the full description unless you need deep technical detail.
What the patent document calls the invention.
A short plain-language summary of the technical disclosure.
Who owns or filed the patent and who is credited as inventor.
Filing, priority, publication, and grant dates set the timeline.
The legal scope of protection — read this for what is actually claimed.
Technology tags used to group this patent with similar filings.
Prior art links and similar publications in this corpus.
Official abstract text for this publication.
Systems and methods for identifying, marking, or modifying source code non-compliant with stylistic preferences in an integrated development environment (IDE). An example method may comprise determining, by a processing device executing an integrated development environment (IDE), a programming language of a source code being processed by the IDE; identifying, from a plurality of style profiles, a style profile for the programming language of the source code; and for each portion of the source code, determining whether a respective portion of the source code complies with the style profile.
Opening claim text (preview).
What is claimed is: 1 . A method comprising: determining, by a processing device executing an integrated development environment (IDE), a programming language of a source code being processed by the IDE, wherein determining the programming language further comprises determining a version of the programming language; identifying, from a plurality of style profiles, a style profile for the version of the programming language of the source code comprising: a set of language-specific syntax rules that define a use of characters for the source code; and a set of language-agnostic stylistic rules that define stylistic preferences for the source code; for each portion of the source code, determining whether a respective portion of the source code complies with the style profile; responsive to determining that a first portion of the source code fails to comply with the style profile, modifying the first portion of the source code to comply with the style profile; and responsive to modifying the first portion of the source code to comply with the style profile, providing the source code for integration in a code base associated with the source code. 2 . The method of claim 1 , wherein each style profile of the plurality of style profiles corresponds to one of: a programming language or a version of a programming language. 3 . The method of claim 1 , wherein the set of language-specific syntax rules comprises a rule that defines the use of at least one of: white spaces, empty lines, special characters, or predetermined characters in the source code. 4 . The method of claim 1 , wherein the method comprises, responsive to determining that the first portion of the source code does not comply with the style profile, marking the first portion of the source code. 5 . The method of claim 4 , wherein marking the first portion of the source code includes highlighting the first portion or underlining the first portion in the IDE. 6 . The method of claim 1 , wherein the set of language-agnostic stylistic rules defines a collection of incorrect versions of collections of characters. 7 . The method of claim 6 , wherein modifying the first portion of the source code to comply with the style profile comprises: determining that the first portion of the source code includes an incorrect version of a particular collection of characters included in the source code; determining that the set of language-agnostic stylistic rules does not define the incorrect version of the particular collection of characters; and modifying the set of language-agnostic stylistic rules to add the incorrect version of the particular collection of characters. 8 . The method of claim 1 , wherein modifying the first portion of the source code to comply with the style profile comprises: determining whether the first portion of the source code fails to comply with the set of language-specific syntax rules and/or the set of language-agnostic stylistic rules. 9 . The method of claim 8 , wherein modifying the first portion of the source code to comply with the style profile further comprises: marking, in the IDE, the first portion of the source code with a particular color, the particular color selected based on whether the first portion of the source code fails to comply with the set of language-specific syntax rules, the set of language-agnostic stylistic rules, or both the set of language-specific syntax rules and the set of language-agnostic stylistic rules. 10 . A system comprising: a memory device; and a processing device executing an integrated development environment (IDE), operatively coupled with the memory device, to perform operations comprising: determining a programming language of a source code being processed by the IDE, wherein determining the programming language further comprises determining a version of the programming language; identifying a style profile for the version of the programming language of the source code, wherein the style profile comprises: a set of language-specific syntax rules that define a use of characters for the source code; and a set of language-agnostic stylistic rules that define stylistic preferences for the source code; for each portion of the source code, determining whether a respective portion of the source code complies with the style profile; responsive to determining that a first portion of the source code fails to comply with the style profile, modifying the first portion of the source code to comply with the style profile; and responsive to modifying the first portion of the source code to comply with the style profile, providing the source code for integration in a code base associated with the source code. 11 . The system of claim 10 , wherein, prior to modifying the first portion of the source code, the operations comprise: responsive to determining that the first portion of the source code fails to comply with the style profile, marking the first portion of the source code. 12 . The system of claim 10 , wherein the style profile is one of a plurality of style profiles. 13 . The system of claim 10 , wherein the set of language-specific syntax rules comprises a rule that defines the use of at least one of: white spaces, empty lines, special characters, or predetermined characters in the source code. 14 . A non-transitory computer-readable storage medium comprising instructions that, when executed by a processing device executing an integrated development environment (IDE), cause the processing device to perform operations comprising: determining a programming language of a source code being processed by the IDE, wherein determining the programming language further comprises determining a version of the programming language; identifying a style profile for the version of the programming language of the source code, the style profile comprising: a set of language-specific syntax rules that define a use of characters for the source code; and a set of language-agnostic stylistic rules that define stylistic preferences for the source code; for each portion of the source code, determining whether a respective portion of the source code complies with the style profile; responsive to determining that a first portion of the source code fails to comply with the style profile, modifying the first portion of the source code to comply with the style profile; and responsive to modifying the first portion of the source code to comply with the style profile, providing the source code for integration in a code base associated with the source code. 15 . The non-transitory computer-readable storage medium according to claim 14 , wherein, prior to modifying the first portion of the source code, the processing device performs operations comprising: marking the first portion of the source code. 16 . The non-transitory computer-readable storage medium according to claim 14 , wherein the style profile is one of a plurality of style profiles. 17 . The non-transitory computer-readable storage medium according to claim 14 , wherein the set of language-specific syntax rules comprises a rule that defines the use of at least one of: white spaces, empty lines, special characters, or predetermined characters in the source code.
Related publications grouped by family.
Answers are generated from the same data shown on this page.