boxlang-runtime-architecture
Installation
SKILL.md
BoxLang Runtime Architecture
Overview
BoxLang is a dynamic JVM language (JRE 21+) that compiles source to Java bytecode
at runtime. The central singleton BoxRuntime acts as a service locator providing
access to all core services. Understanding the architecture is essential for building
modules, BIFs, interceptors, and custom language extensions.
BoxRuntime — The Central Singleton
import ortus.boxlang.runtime.BoxRuntime;
// Get the singleton instance
BoxRuntime runtime = BoxRuntime.getInstance();
// Start programmatically (e.g., in tests or embedding scenarios)
BoxRuntime runtime = BoxRuntime.getInstance( true ); // true = start immediately