When dealing with native modules (i.e. DLL files), Jwno is source-compatible with Janet. That means if a native module works with janet.exe
, it can also work with jwno.exe
, but you need to recompile it specifically for Jwno.
For example, if you have the Spork library installed for Janet, you can import its pure Janet modules in Jwno (e.g. spork/infix
), but can not load the modules written in C directly (e.g. spork/zip
). To use Spork native modules in Jwno, recompile Spork and tell jpm
to link it with jwno.lib
:
# Run in Spork source directory
jpm -l build --janet-importlib=C:\path\to\jwno.lib
You can get jwno.exp
and jwno.lib
for a specific version separately from Github releases, and they can be placed anywhere in your disks, not necessarily in the same place as jwno.exe
.