Analysis of the New Generation source-to-source Compilers Using the Google Web Toolkit

Full Text (PDF, 699KB), PP.32-41

Views: 0 Downloads: 0

Author(s)

Kire Jakimoski 1,* Blagoja Chavkovski 1

1. Faculty of Informatics, AUE-FON University, Skopje, Republic of North Macedonia

* Corresponding author.

DOI: https://doi.org/10.5815/ijieeb.2022.05.04

Received: 27 Mar. 2022 / Revised: 10 May 2022 / Accepted: 11 Jul. 2022 / Published: 8 Oct. 2022

Index Terms

Google Web Toolkit, Interpreter, Source-to-source compiler, Transpiler.

Abstract

The role of source-to-source compilers nowadays increases faster since each high-level language is in a need to gain more recognition in each field of development. One of the fields that became very popular in the last ten years is web development, where the browsers became the “machines” of our everyday life. They are relevant and powerful, and the only drawback they have is that they only understand one language, that is JavaScript. The need of other languages to be included in the client side of the web development, created the steam for source-to-source compiling, sometimes referred as Transpiling, where one high level language as Java, C, C# and many others are translated mostly, but not solely, to JavaScript. A famous tool that is well recognized is Google Web Toolkit (GWT) which translates Java source code to JavaScript source code. The core of this tool is the compiler which is covered in great details in this paper. Main goal and benefit of this paper is to analyze and compare the difference of the process of translation to JavaScript by transpiler to the process of “normal” compiling and to highlight key aspects of this process.

Cite This Paper

Kire Jakimoski, Blagoja Chavkovski, "Analysis of the New Generation source-to-source Compilers Using the Google Web Toolkit", International Journal of Information Engineering and Electronic Business(IJIEEB), Vol.14, No.5, pp. 32-41, 2022. DOI:10.5815/ijieeb.2022.05.04

Reference

[1]Bastidas, F. A., & Pérez, M. (2018, October). A systematic review on transpiler usage for transaction-oriented applications. In 2018 IEEE Third Ecuador Technical Chapters Meeting (ETCM) (pp. 1-6). IEEE.
[2]David, Galles (2014). Modern Compiler Design 2nd Edition.
[3] Alfred Aho, Monica Lam, Ravi Sethi (2016). GCompilers: Principles, Techniques, and Tools 2nd Edition.
[4]Keith, Cooper, Laura Torczon (2014). Engineering a compiler 2nd Edition.
[5]Chaganti, Prabhakar (2007). GWT Java AJAX Programming: A Practical Guide to Google Web Toolkit for Creating AJAX Applications with Java. Packt Publishing Ltd.
[6]Smeets, B., Boness, U., & Bankras, R. (2008). Beginning Google Web Toolkit. From Novice to Professional. Apress.
[7]Johnson, Bruce, and Joel Webber (2007). Google web toolkit. Addison-Wesley.
[8]Murugesan, San (2007). Understanding Web 2.0. IT professional 9, no. 4: 34-41.
[9]Prabhakar, Chaganti (2007). Google Web Toolkit: GWT Java Ajax Programming.
[10]Geary, David (2007). Google™ web toolkit solutions: cool & useful stuff. Prentice Hall Press.
[11]Lawton, George (2008). New ways to build rich internet applications. Computer 41, no. 8: 10-12.
[12]Meliá, S., Gómez, J., Pérez, S., & Díaz, O. (2008, July). A model-driven development for GWT-based rich internet applications with OOH4RIA. In 2008 Eighth international conference on Web engineering (pp. 13-23). IEEE.
[13]McFall, R., & Cusack, C. (2009). Developing interactive web applications with the google web toolkit. Journal of Computing Sciences in Colleges, 25(1), 30-31.
[14]Nystrom, R. (2021). Crafting interpreters. Genever Benning.
[15]Owoseni, A. T., & Akanji, S. A. (2016). Survey on Adverse Effect of Sophisticated Integrated Development Environments on Beginning Programmers' Skillfulness. International Journal of Modern Education and Computer Science, 8(9), 28.