In Proceedings of the 2017 11th Joint Meeting on Foundations of Software Engineering, pages 727-739, 2017. Automatic inference of code transforms for patch generation. Fan Long, Peter Amidon, and Martin Rinard.In Proceedings of the 28th IEEE/ACM International Conference on Automated Software Engineering, pages 598-603. Cloud twin: Native execution of android applications on the windows phone. Ethan Holder, Eeshan Shah, Mohammed Davoodi, and Eli Tilevich.A lightweight approach for migrating web frameworks. In Proceedings of the IEEE International Conference on Computer Systems and Applications, 2006. An experiment in automatic conversion of legacy Java programs to C#. Computer Languages, Systems & Structures, 48:3-19, 2017. Facilitating the development of cross-platform software via automated code synthesis from web-based programming resources. Sanchit Chadha, Antuan Byalik, Eli Tilevich, and Alla Rozovskaya.In Proceedings of the 2015 ACM SIGPLAN International Conference on Generative Programming: Concepts and Experiences, GPCE 2015, pages 99-108, New York, NY, USA, 2015. Native-2-Native: Automated cross-platform code synthesis from web-based programming resources. Antuan Byalik, Sanchit Chadha, and Eli Tilevich.As native cross-platform mobile apps grow in popularity, J2SLNFERER can shorten their time to market by automating the tedious and error prone task of source-to-source translation. With 76% in-project accuracy and 65% cross-project accuracy, J2SLNFERER outperforms in accuracy j2swift, a state-of-the-art Java-to-Swift conversion tool. ![]() We evaluated J2SLNFERER with four applications, using one part of the data to infer translation rules, and the other part to apply the rules. ![]() J2SLNFERER represents inferred rules as string templates, stored in a database, to translate code from Java to Swift. For each pair of similar code segments, J2SLNFERER then creates syntax trees of both languages, leveraging the minimalist domain knowledge of language correspondence (e.g., operators and markers) to iteratively align syntax tree nodes, and to infer both syntax and API mapping rules. Given a software corpus in both languages, J2SLNFERER first identifies the syntactically equivalent code based on braces and string similarity. To automate the translation of native cross-platform apps, we present J2SINFERER, a novel approach that iteratively infers syntactic transformation rules and API mappings from Java to Swift. Translating an app from one language (e.g., Java) to another (e.g., Swift) by hand is tedious and error-prone, while automated translators either require manually defined translation rules or focus on translating APIs. Typically, an app is developed for one platform and then ported to the remaining ones. A native cross-platform mobile app has multiple platform-specific implementations.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |