From 5ecd0fc61a1a292426538fcb1e791342e04953b5 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Wed, 6 Mar 2024 16:41:59 +0100 Subject: Genesis --- README | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 README (limited to 'README') diff --git a/README b/README new file mode 100644 index 0000000..7165465 --- /dev/null +++ b/README @@ -0,0 +1,24 @@ +MLib — Useful Standard Library Extensions + +MLib is a collection of various headers and libraries that I find useful +in a large enough number of my personal C projects. This includes for +example: common datastructures, useful non-POSIX APIs, and 21st-century +strings. + +This does not aim to be a LibC replacement, but rather a supplimentary +library. It is a C23 library with no plans to support older standards. + +The headers as of now are: + • alloc.h — memory allocation functions + • bitset.h — macros for implementing a bitset + • bob.h — bob the string-builder + • dynarr.h — macros for implementing a dynamic array + • errors.h — err.h-inspired diagnostics functions + • macros.h — miscellaneous utility macros (MIN/MAX/lengthof/etc.) + • mbstring.h — multibyte-strings + • rune.h — inttypes.h but for runes + +The headers planned for inclusion are: + • optparse.h — option parsing functions + • unicode/gbrk.h — grapheme breaking + • unicode/props.h — unicode character properties -- cgit v1.2.3