I reworked x/embed/a.c slightly to make it easier to repurpose for building a shared library that can be dynamically loaded into the REPL. I also added a readme.txt with some caveats but stopped short of a full tutorial. I can add more if you think it's a good idea.
Also, I didn't include it here, but I made a pretty trivial Dockerfile to build this on linux. (My desktop is a Mac.) If linux is the only officially supported platform it might be nice to have an official build of it. The Dockerfile I have builds k-libc because that's what I could get working.
I reworked x/embed/a.c slightly to make it easier to repurpose for building a shared library that can be dynamically loaded into the REPL. I also added a readme.txt with some caveats but stopped short of a full tutorial. I can add more if you think it's a good idea.
Also, I didn't include it here, but I made a pretty trivial Dockerfile to build this on linux. (My desktop is a Mac.) If linux is the only officially supported platform it might be nice to have an official build of it. The Dockerfile I have builds k-libc because that's what I could get working.