https://github.com/blitz-research/monkey2/tree/develop/src/m...
... and one of his previous languages, BlitzMax, is continued by others today as BlitzMaxNG, and it uses a frequently-updated transpiler based off the former/similar Monkey language:
Again, easy to read, and the principles are the same for almost any language.
Downloadable distros:
https://blitzresearch.itch.io/monkey2 https://blitzmax.org/
Targets include Windows x86/64, Mac, Linux, Android and HTML5... among others!
The transpiler is in C++/17. The source language is something called NSEEL, implemented in Winamp couple decades ago. The original runtime was a JIT into old-school x87 code. The target language is Microsoft HLSL, specifically it’s for shader model 5 for Direct3D 11.0.
I have little to no background with compiler development, but IMO my transpiler ain’t too bad, and it’s very efficient.