The present disclosure relates to a migration tool to convert a code in a first format to a code in a second format. The source code received can be from a user (108) or from a database (106). The input code is said to be in the first format. An Abstract Syntax tree (AST) of the code in the first format is generated by a system (104) by parsing the code. A modified AST is generated based on the AST of the code in the first format. A code in the second format is generated from the modified AST.

Creative Commons License

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 License.