AviatorScript is a high-performance scripting language hosted on the JVM.
AviatorScript addresses the need for dynamic script execution within Java applications without the overhead of heavier language runtimes. It compiles scripts to JVM bytecode in ASM mode for performance, or runs in interpretation mode for compatibility with non-standard Java platforms like Android. The language supports first-class functions, closures, and functional programming patterns alongside traditional imperative syntax. It includes built-in types for arbitrary-precision arithmetic (bigint and decimal) with operator overloading, a module system, and comprehensive Java interoperability through multiple calling conventions and the Java Scripting API.
The tool suits projects requiring rule engines, formula evaluation, dynamic control flow, or collection data transformation. It is designed to work both as a lightweight expression evaluator and as a full-featured scripting sandbox with customizable restrictions. The interpretation mode makes it viable for environments where standard Java bytecode compilation is unavailable. The project supports compiled script serialization for caching and execution timeouts to prevent resource exhaustion from untrusted scripts.
Development activity shows consistent maintenance with regular updates and bug fixes. The project maintains active CI/CD pipelines and publishes releases to standard Java package repositories. Documentation is comprehensive and available in multiple languages, reflecting ongoing effort to serve a broad user base. The codebase demonstrates attention to performance optimization and platform compatibility across different Java environments.