PicoLisp
This is a distraction from the post. But the thread may attract minds who are glad to correct.<p>The post shows an example where code calls into shared-object files from picolisp.<p>Something I have been wondering: why are the inspection options so weak for SO files? I expect you should be able to introspect a SO. In response, you would receive function and struct documentation, and clear type information about functions.<p>Relevant stack overflow question, <a href="https://unix.stackexchange.com/questions/61940/introspection-of-the-interface-of-a-shared-library" rel="nofollow">https://unix.stackexchange.com/questions/61940/introspection...</a>. "For C-type functions, you'll only get function names, not argument types or return values. For C++ functions, you'll get mangled names - pipe the output of that command through c++filt to get function names and argument types (still no return values though)."<p>You could change Elf to fix it. An alternative, the compiler could do it. Gcc could run an early preprocessor round to pick up metadata and type information. It would freeze this metadata to blobs in the code area. Through this, you could have a standard set of introspection methods built with that compiler.<p>I have been programming on Windows recently. In some situations, in order to build against a DLL you need need an accompanying "lib" file. If you do not have one, you can perform a circus to create one from the DLL.<p>What have I missed?