function
boot.janet on line 2781, column 1
(make-image env)
Create an image from an environment returned by `require`. Returns
the image source as a string.
# This turns the current REPL session (environment) with all bindings, including synced closures,
# into a loadable or compilable image.
# It is the same as e.g.: `janet -c test.janet test.jimage` after (spit "test.janet" (currenv))
(spit "test.jimage" (make-image (curenv)))