newModule

fun newModule(runtime: AvailRuntime, moduleName: A_String): A_Module

Construct a new empty module. Pre-add the module itself to its set of ancestor modules.

Return

The new module.

Parameters

runtime

The current AvailRuntime that will eventually have this module added to it. Capturing this now makes it easier to ensure we can access needed repository structures from any thread.

moduleName

The fully qualified name of the module.