code: public static CompiledScript compile(ScriptEngine engine, String script) throws ScriptException {
  		if (engine instanceof Compilable) {
  			Compilable compEngine = (Compilable) engine;
  			return compEngine.compile(script);
  		}
  		return null;
  	}
docs: 编译脚本
  
  @param engine 引擎
  @param script 脚本内容
  @return {@link CompiledScript}
  @throws ScriptException 脚本异常