binfmtc: Execute C code as scripts

2025-06-08

Tired of writing Makefiles for shell scripts? binfmtc lets you write scripts directly in C! It uses the Linux binfmt_misc mechanism to automatically compile and execute your C code when the script is run. Simply add a special comment to your C script, make it executable, and enjoy the efficiency of C with the convenience of shell scripting. Currently supports GCC, G77, and GPC, with plans to support more compilers like GNAT, Gobjc, and Mono.

Development