Implement as-needed loading of libraries on import.
authorChris Hanson <org/chris-hanson/cph>
Mon, 28 Oct 2019 00:48:07 +0000 (17:48 -0700)
committerChris Hanson <org/chris-hanson/cph>
Mon, 28 Oct 2019 00:48:07 +0000 (17:48 -0700)
commitcf36c49c76b47f60504961f6030897d8eb22cebc
tree564b1a94ddbea4b3630615be5c1018bade62d9d5
parent304ac31fd512a3557956e9b27946028663c42296
Implement as-needed loading of libraries on import.

This does topological sorting to do the loads in the right order, but doesn't
handle dependency loops (yet).
src/runtime/library-loader.scm
src/runtime/runtime.pkg