Email or username:

Password:

Forgot your password?
Ludovic Courtès

“The Design of a Self-Compiling C Transpiler Targeting POSIX Shell” (2024)
doi.org/10.1145/3687997.369563

“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 👋)

Cc: @janneke @stikonas

#bootstrapping #Guix

2 comments
Ludovic Courtès

I have yet to read it carefully but it sure sounds fun!

@stikonas @janneke @monnier

Ludovic Courtès

The bit about Guix’s full-source bootstrap relying “on a large amount of x86 machine encoding of instructions and assembler code that require experts to audit”, right after mentioning the 357 bytes of x86 instructions, is hard to understand.

@monnier @janneke @stikonas

Go Up