News for hackers. Stuff that matters.
Re:I wrote the least-C C program I could by na85 on Monday February 21, 2022 @03:08AM (#30413120)
Awk is actually great. M4 not so much.

Some absolute lunatic solved this year's Advent of Code in m4; it was impressive.

Re:I wrote the least-C C program I could by erik_seaberg on Monday February 21, 2022 @03:49AM (#30413377)
Terraform module args used to be very limited, and I didn’t know how to generate JSON it would take instead of HCL, so I actually used m4 to avoid repeating every template n times. And now we are sad because of course Terraform has improved quite a bit.
Re:I wrote the least-C C program I could by na85 on Monday February 21, 2022 @10:18PM (#30423649)
I used to contribute to an ultima online emulator and I definitely used awk to generate C# classes from a CSV file.