how can I dynamic-require
a submodule within its enclosing module?
You might find quote-module-name
useful.
Is there a standard way (ie without gutting the compiler source) to use cify for arbitrary racket (for some definition of arbitrary)?
No, there’s not a standard way, and it won’t work on actually arbitrary racket, but you could just use the code in schemify and cify (after using the expander to generate a flattened linklet)
Its sibling quote-module-path
turns out to be what I want. Thanks for the pointer!
Would you recommend that I copy the code into my project or is there a way to require
it?
It’s just there in the source code, so you can require it the same as anything else. You can certainly install those directories as packages if you want.
Indeed I can load it to a repl without any requirements. That’s a nice start