Design of ART program language and interpreter based on Java
Yu Dai, Wenjia Long, Zhiping Yu, Qinfeng Zhou · 2023
In the paper the Android runtime (ART) program language and its interpreter are designed based on Java. The grammar rules of ART language are designed in detail from lexical analysis, grammatical analysis and semantic analysis, and a simple but powerful scripting language is implemented, which supports object-oriented programming, functional programming, operator overloading and other functions. The ART interpreter is written based on the Java standard library. The experimental results show that it can be easily embedded into most JVM based applications including the Android platform. It improves the current problem of too few simple and easy to use scripting languages and relying on third-party library data.