INim icon indicating copy to clipboard operation
INim copied to clipboard

support meta-commands to remove variables and unimport (or reimport) modules

Open timotheecour opened this issue 5 years ago • 1 comments

without unimport (or reimport), there's no way to modify a module once imported

timotheecour avatar Jul 18 '18 01:07 timotheecour

This could possibly be fixed by changing the scrFile argument to be compiled in addition to the main buffer code, as opposed to being inserted as preloaded data.

For the import calls, we could probably support unimport. Unimport would delete a line matching import <name> from the source buffer. Modules imported in the repl should be automatically recompiled if the import source code changes (I think, maybe it needs a -f to force compilation)

Tangdongle avatar Apr 21 '20 02:04 Tangdongle