AbstractScript
Abstract base class for script execution that supports named variable bindings with type parameters.
Manages a map of named values and their associated type parameters, generates parameter declarations for the target language, and handles context resets between evaluations.
Parameters
extension
the file extension used to look up the script engine (e.g., "kts", "py", "java")
nullGlobalContext
if true, sets the global scope bindings to null on initialization