custom primops
This is a working idea of mine - it makes it possible to write extensions to owl lisp in C without much headache.
It can be enabled and used after compiling a scheme file to c with ol -x c
. I wrote a tiny example here.
It may be thought of as an almost-FFI I guess?
I moved some stuff like macros and important definitions to ovm.h, and included it to c/vm.c
in the makefile, so it will continue to work as before.
If You don't like it - I'm ok with that and I won't complain, as I know that this can break the purely-functional spirit of owl lisp. I just think it can make the langauge more extensible.