Hacker News new | past | comments | ask | show | jobs | submit login
Show HN: Ec – a small tool to inline build commands in stand-alone source files (github.com/michaelfm1211)
3 points by michaelfm1211 on Dec 27, 2023 | hide | past | favorite | 1 comment



So it's basically a hybrid of mode lines and Makefiles? Interesting idea. However, I can also see this conflicting with stuff like modelines. Maybe a unique prefix could help avoid this.

And just a heads up:

> There must be no white space between the starting pattern (// or ##) and the command name.

This will not play nice with many if not most formatters, which tend to enforce a space (or in summer cases even two spaces). I think I'd consider removing this requirement.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: