I'm on a different vector with OhmJS. I'm experimenting with transpilation instead of compilation - rewriting text from one form to another, using existing PLs as "assembly languages" for higher-level notations. I created a quickie answer, using transpilation, to an exercise in the book Crafting Interpreters which converts fictitious strings, containing JS-like interpolation, into working Python code that doesn't use Python f-strings.
Further Experimentation
See Also
Email: ptcomputingsimplicity@gmail.com
References: https://guitarvydas.github.io/2024/01/06/References.html
Blog: guitarvydas.github.io
Videos: https://www.youtube.com/@programmingsimplicity2980
Discord: https://discord.gg/65YZUh6Jpq
Leanpub: [WIP] https://leanpub.com/u/paul-tarvydas
Twitter: @paul_tarvydas
Substack: paultarvydas.substack.com