aboutsummaryrefslogtreecommitdiff
path: root/vendor/librune/README.md
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-10-30 01:51:14 +0100
committerThomas Voss <mail@thomasvoss.com> 2024-10-30 01:51:14 +0100
commit042e43247f396a9000fead59d9bff87bf12806d6 (patch)
treee902784464cbe9ce3c5114d513b016523e7e4b29 /vendor/librune/README.md
parent170b8a92434233241c990c3e9432786de3262bcd (diff)
Completely revamp the grab source code
Some of the (many) few changes are: - Multithreading for significantly faster performance - The -p/--predicate flag - Byte offsets as the default - No customizable colors (maybe this will come back later) - Newer edition of mlib (formerly librune)
Diffstat (limited to 'vendor/librune/README.md')
-rw-r--r--vendor/librune/README.md60
1 files changed, 0 insertions, 60 deletions
diff --git a/vendor/librune/README.md b/vendor/librune/README.md
deleted file mode 100644
index 6e1f772..0000000
--- a/vendor/librune/README.md
+++ /dev/null
@@ -1,60 +0,0 @@
-# librune — easy Unicode in a post-ASCII world
-
-Librune is a C library that aims to make interacting with Unicode and
-UTF-8 easy in C. There are no plans at the moment to support UTF-16 or
--32, but they may be supported if such a usecase ever comes up.
-
-This library requires C23.
-
-
-## Terminology
-
-This library uses the term ‘rune’ to refer to a single Unicode-codepoint,
-and defines a `rune` datatype which is an unsigned integer type which
-represents a rune (shocker).
-
-
-## Headers
-
-This library contains the following headers:
-
-- `builder.h` — string building functions
-- `gbrk.h` — grapheme-iteration functions
-- `rtype.h` — rune categorization à la `ctype.h`
-- `rune.h` — rune-constants, -macros, and -functions
-- `utf8.h` — UTF-8 encoding, decoding, iteration, etc.
-
-
-## Compilation
-
-This library comes with a build script in the form of `make.c`. To build
-the library all you need is a C compiler. The build script will build a
-static library called ‘librune.a’.
-
-```sh
-# Make sure to link with pthread
-cc -lpthread -o make make.c
-./make
-```
-
-If you want to build the library in release-mode (optimizations enabled),
-simply pass the `-r` flag to the build script:
-
-```sh
-./make -r
-```
-
-You can also pass the `-l` flag to enable link-time optimizations:
-
-```sh
-./make -lr
-```
-
-
-## Installation
-
-There is no ‘intended’ way in which this library should be installed,
-used, and distributed. This library is primarily written for myself, and
-I prefer to vendor it in my projects. You may choose to install it as a
-shared and/or static library. You’re an engineer aren’t you? Figure it
-out.