Starlarkrepl 基于星lar的自动完成实验REPL。 thread := & starlark. Thread { Load : repl . MakeLoad ()} globals := make (starlark. StringDict ) options := starlarkrepl. Options { AutoComplete : true , HistoryFile : "history.txt" , } starlarkrepl . Run ( thread , globals , options )