Invention Grant
- Patent Title: Transformation templates to automate aspects of computer programming
-
Application No.: US17903496Application Date: 2022-09-06
-
Publication No.: US11886850B2Publication Date: 2024-01-30
- Inventor: Owen Lewis , Bin Ni
- Applicant: Google LLC
- Applicant Address: US CA Mountain View
- Assignee: GOOGLE LLC
- Current Assignee: GOOGLE LLC
- Current Assignee Address: US CA Mountain View
- Agency: Gray Ice Higdon
- Main IPC: G06F8/51
- IPC: G06F8/51 ; G06F8/71 ; G06N3/04 ; G06N3/08

Abstract:
Implementations are described herein for building and/or applying a library of transformation templates to automate migration of source code. In various implementations, pre-migration and post-migration versions of source code that exist prior to and after migration of the source code may be analyzed. Based on the analysis, one or more transformations made to the pre-migration version of the source code to yield the post-migration version of the source code may be identified. A library of transformation templates that are applicable subsequently to automate migration of new source code may be built. In some implementations, for one or more of the transformations, a plurality of candidate transformation templates may be generated with different permutations of tokens being replaced with placeholders. One of the plurality of candidate transformation templates may be selected for inclusion in the library based on one or more criteria.
Public/Granted literature
- US20220413820A1 TRANSFORMATION TEMPLATES TO AUTOMATE ASPECTS OF COMPUTER PROGRAMMING Public/Granted day:2022-12-29
Information query