mirror of
https://github.com/janet-lang/janet
synced 2025-07-02 10:02:49 +00:00

Allow more easily importing modules from custom directories without jumping through too many hoops. Technically, this was possible before but required circumventing the built-in module/paths and was just a hassle. Also add entries to module/path (and module/add-path) to allow code like the following. (setdyn :my-libs "/home/me/janet-stuff/") (import @my-libs/toolbox) Intended for things like test harnesses where code might not be installed to the usual directories.