Open sjdv1982 opened 2 years ago
in the future, perhaps some kind of annotation syntax in the module definition that guides the selection of a submodule (selecting the right additional components to go along into the submodule selection)
Point 1 TODO.
In general, ctx.mod = Module(); ctx.x = ctx.mod
causes ctx.x
to be a Cell, not a module.
To select a part of a Module and use it as another module. See the use of nefertiti in the RRM project. Requires that the submodule is independent, i.e. does not import anything from its parent. Importing sibling modules should be OK (but may not work out of the box).
To use the Module code as a Python module inside the ipython kernel. This is for testing purposes.