Every so often I'm reminded that you can turn interpreters into compilers using partial evaluation (ie. GraalVM), but I always forget the basic mechanics of how it could possibly work, so my brain is like, wait, *how* do I trick my computer into giving me a free compiler??
Of course _someone's_ gotta write the specializing compiler for the language your interpreter is written in, it won't spontaneously generate itself. It's a technique for _leveraging_ that compiler to compile other languages.