public static <T extends ScriptContext> BooleanExpressionScript<T> script(String script,
    ScriptEnvironment<T> context) {
    var parsed = ConfigExpressionScript.parse(script, context, Boolean.class);
    return new BooleanExpressionScript<>(script, parsed, context.clazz());
  }
Creates a new boolean expression from {@code script} where {@code context} defines the available variables.
planetiler-custommap/src/main/java/com/onthegomap/planetiler/custommap/expression/BooleanExpressionScript.java