I've been reading the "garage door open" posts here on hacker news, and figured others might be interested in this project. The project is just the examples in "c programming language" by Kernighan and Ritchie written in library form. I reviewed some github repos that other people have posted here on hackernews and tried to copy their style. Rather than putting "main.c" in the top directory, I put the library in the top directory, and tests with main functions just use the library. Everything in the book is likely already in <stdlib.h>, <stdio.h> or <string.h>, but it is useful to go through to see how the underlying functions work. While going through the book, I've been inspired to create a few other projects using the functions from libkr as the base. You can see those here: https://dmillerfork.codeberg.page
punknight•1h ago