Using precompiled code as module is available as parameter, but not yet implemented:
/// <summary>
/// Precompile code and store it in a dictioanry
/// </summary>
/// <param name="name">Unique name of the script, to access it later</param>
/// <param name="code">Code to compile</param>
/// <param name="overrideExisting">True if existing scripts with the same name can be overriden. If set to false and the
/// script alredy exists, an exception will be thrown</param>
/// <param name="isModule">Register also as module, so it can be load with the `import` command. !!!Not yet implemented!!!</param>
public void PreCompile(string name, string code, bool overrideExisting = true, bool isModule = false)
{
// ....
}
Using precompiled code as module is available as parameter, but not yet implemented: