Open justinethier opened 4 years ago
I agree this would leverage prototyping to a next level.
The difficulty here is that we would need to interpret the contents of the library. I do not believe we have direct support in the interpreter for define-library
so that will nee to be added. There are also some forms that cannot be interpreted - I believe mostly this would mean define-c
and any other forms that require the C compiler.
That said this would be very useful for development, and would probably be relevant to most libraries.
It would be nice if the interpreter could load (import / include / load) an uncompiled library. Right now it would need to be compiled and then loaded via
import
which works but is less flexible.