diff options
| author | 2025-03-11 22:55:14 +0330 | |
|---|---|---|
| committer | 2025-03-11 22:55:14 +0330 | |
| commit | 78041817542a06e817281d6614fc67be7c6196a5 (patch) | |
| tree | c9a660c837264e84e94fb08017d1fb8bfadf8a6a /README.md | |
| parent | Improve allocation fallback (diff) | |
Converted the build system to C! + Slight improvements
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 26 |
1 files changed, 26 insertions, 0 deletions
@@ -8,6 +8,32 @@ This library relies upon nothing but the C language itself, not even the standar Support for more operating systems and architectures is not part of the goals of this project, but it is a consideration to be kept in mind. That said, any contribution to expand support to other configurations are absolutely welcome. +## Usage guide +First, build the builder (yes, the build system and macro generator are written in no-libc C as well): +```sh +$ clang build.c -nostdlib -o builder +``` +Run it for a guide: +```sh +$ ./builder +``` +Build the macros: +```sh +$ ./builder macro +``` +Verify the test cases: +```sh +$ ./builder run +``` +Install moonshine: +```sh +$ ./builder install +``` +All-in-one quick install: +```sh +$ ./builder all +``` + ## Current features - Mark & Sweep garbage collector for responsible memory management (must be manually called, for now) - Easy array creation: `new(int)`, `new(char, 4)`, `fill(int, 2, 4, 5)`, `fill(string, "hello", "world")`, `single("string")`, `single(22.4)` |
