JAVA MODULAR EXTENSION FOR OPERATOR OVERLOADING

Uloženo v:
Podrobná bibliografie
Název: JAVA MODULAR EXTENSION FOR OPERATOR OVERLOADING
Autoři: Artem Melentyev
Informace o vydavateli: Zenodo
Rok vydání: 2021
Sbírka: Zenodo
Témata: Java compilers, operator overloading, language extension, compiler plugin, Integrated Development Environment
Popis: The paper introduces a modular extension (plugin) for Java language compilers and Integrated Development Environments (IDE) which adds operator overloading feature to Java language while preserving backward compatibility. The extension use the idea of library-based language extensibility similar to SugarJ[1]. But unlike most language extensions, it works directly inside the compiler and does not have any external preprocessors. This gives much faster compilation, better language compatibility and support of native developer tools (IDE, build tools). The extension plugs into javac and Eclipse Java compilers as well as in all tools whose use the compilers such as IDEs (Netbeans, Eclipse, IntelliJ IDEA), build tools (ant, maven, gradle), etc. No compiler, IDE, build tools modification needed. Just add a jar library to classpath and/or install a plugin to your IDE. The paper also discuss on how to build such Java compiler extensions. The extension source code is open on http://amelentev.github.io/java-oo/
Druh dokumentu: article in journal/newspaper
Jazyk: English
Relation: https://zenodo.org/records/4769884; oai:zenodo.org:4769884; https://doi.org/10.5281/zenodo.4769884
DOI: 10.5281/zenodo.4769884
Dostupnost: https://doi.org/10.5281/zenodo.4769884
https://zenodo.org/records/4769884
Rights: Creative Commons Attribution 4.0 International ; cc-by-4.0 ; https://creativecommons.org/licenses/by/4.0/legalcode
Přístupové číslo: edsbas.AA11B13D
Databáze: BASE
Popis
Abstrakt:The paper introduces a modular extension (plugin) for Java language compilers and Integrated Development Environments (IDE) which adds operator overloading feature to Java language while preserving backward compatibility. The extension use the idea of library-based language extensibility similar to SugarJ[1]. But unlike most language extensions, it works directly inside the compiler and does not have any external preprocessors. This gives much faster compilation, better language compatibility and support of native developer tools (IDE, build tools). The extension plugs into javac and Eclipse Java compilers as well as in all tools whose use the compilers such as IDEs (Netbeans, Eclipse, IntelliJ IDEA), build tools (ant, maven, gradle), etc. No compiler, IDE, build tools modification needed. Just add a jar library to classpath and/or install a plugin to your IDE. The paper also discuss on how to build such Java compiler extensions. The extension source code is open on http://amelentev.github.io/java-oo/
DOI:10.5281/zenodo.4769884