Better HN
topnewbestaskshowjobs
Log inSign up

beamsen

1 karma · joined Mar 8, 2024 (2y ago) · 1 submissions

Submissions

comment 2y ago · link · parent

> I love writing C because I do none of that overhead. The files to compile are whatever is on disk. The tests to run are all the tests in the source, they aren't listed somewhere else as well. Any file called .lua.c is a lua program that writes the intended contents of .c to stdout. *.c.h will be compiled as C and then run to write a C header on stdout.

Do you have any sample projects that showcase both the tests and the code generation? I'd love to take a look.