INim
INim copied to clipboard
inim should read configs read by nim (eg nim.cfg) but doesn't
test.nim:
import foo/util
nim c -o:app -r test.nim
#works, because I set the path in nim.cfg
inim
>>> import foo/util
Error: cannot open file: foo/util
import foo/util
^
Also, it shouldn't duplicate the logic (which can change over time and be complex) but call the logic used by nim
.
+1