Changes
- add
objects.Importable
interface with 2 implementationsobjects.BuiltinModule
: importable module written in Goobjects.SourceModule
: importable module written in Tengo
- remove
print
,println
,printf
,sprintf
,to_json
,from_json
builtin functions - add "fmt" and "json" standard library
- remove
Script.SetBuiltinFunctions
,Script.SetBuiltinModules
,Script.SetUserModuleLoader
functions - add
Script.SetImports
function - builtin functions cannot be disabled