From f73c493956352dc2b1726862eb2e76d0a731c5c5 Mon Sep 17 00:00:00 2001 From: Abdulmujeeb Raji Date: Fri, 17 Jan 2025 09:39:02 +0000 Subject: [PATCH] move examples into bastd folder, tick off todo list --- README.md | 4 ++-- {examples => bastd/examples}/memory.c | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename {examples => bastd/examples}/memory.c (100%) diff --git a/README.md b/README.md index 023e008..bc7d07c 100644 --- a/README.md +++ b/README.md @@ -13,10 +13,10 @@ aims to be a sufficient and even superior replacement. - Making C a more "tolerable" language `bastd`'s features include: -- [ ] No header files. They cause more harm than good in my opinion, and I prefer a +- [x] No header files. They cause more harm than good in my opinion, and I prefer a single translation unit in my builds. You just include `bastd.c` at the top of your main C file and you start writing code. -- [ ] Memory Allocators. The premier one is the +- [x] Memory Allocators. The premier one is the [Arena Allocator](https://www.rfleury.com/p/untangling-lifetimes-the-arena-allocator), which acts as our generic allocator in place of `malloc`, providing a unfirom interface that simplifies memory management and groups allocations together diff --git a/examples/memory.c b/bastd/examples/memory.c similarity index 100% rename from examples/memory.c rename to bastd/examples/memory.c