“The Design of a Self-Compiling C Transpiler Targeting POSIX Shell” (2024)
https://doi.org/10.1145/3687997.3695639
“We have developed pnut, a C to POSIX shell transpiler written in C that generates human-readable shell code. […] Together, pnut and the shell serve as the seed for a chain of builds that create increasingly capable compilers up to the most recent version of [GCC]”
(@monnier is among the authors 👋)