diff options
author | pommicket <pommicket@gmail.com> | 2025-09-15 20:28:11 -0400 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2025-09-15 20:28:11 -0400 |
commit | 06e068ea14220903bd95fea94d44fe3f1a918481 (patch) | |
tree | 278ce9ab78bda672454dc1de63389337f79b67bd /README.md | |
parent | aafaca51cfbdc66a6ff9af52121470f59b9559ac (diff) |
Installable library
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 27 |
1 files changed, 27 insertions, 0 deletions
@@ -2,6 +2,29 @@ C parser for [POM configuration language](https://pom.computer) +## About + +libpom has + +- small size (~20KB code+data) +- support for custom memory allocation +- no dependencies other than libc + +## Building + +Build with + +``` +make -j`nproc` +``` + +Install with +``` +sudo make install +``` + +You can also do `PROFILE=Debug make` to build with debug information. + ## Basic usage ```c @@ -25,6 +48,10 @@ int main(void) { } ``` +Assuming you have run `make install`, you just need to add `-l:libpom.a` (or `-lpom` to +use the shared library) to your compiler flags. + + See `examples/` directory for more examples. ## Contributing |