Script package is a pnuts.ext.ScriptPackage object that is used in user's scripts as an hashtable.
If there is any function in the parameters, register the function with its name in a script package. Since pnuts.ext.ScriptPackage implements pnuts.lang.AbstractData interface, instance methods of pnuts.lang.Package class can not be called in Pnuts directrly. Instead, the following methods are provided. Abstract Data Type by Script Packages With a script package, a kind of abstract data type can be defined.