docs: public CompiledScript compile(String scriptSource) throws ScriptException {
          try {
              return new GroovyCompiledScript(this,
                      getScriptClass(scriptSource));
          } catch (CompilationFailedException ee) {
              throw new ScriptException(ee);
          }
      }