Leaflitter is a compact C workbench for experimenting with buffered I/O, bit-level encoding, and Huffman compression.
The current main branch contains the core C modules. The build, test, and
command-line workflow is still under development. APIs may change.
src/lf_buf.candsrc/lf_buf.h- growable byte bufferssrc/lf_bitio.candsrc/lf_bitio.h- bit-level input and outputsrc/lf_huffman.candsrc/lf_huffman.h- Huffman tree and coding logicsrc/lf_common.h- shared types and utility definitionsthird_party/unity- Unity test framework source
The public main branch does not yet include a build file or a supported build
command. Review the source and the header files directly while the build
workflow is completed.
The modules keep storage and encoding concerns separate. The buffer module owns byte storage. The bit stream module handles individual bits. The Huffman module builds on those primitives.
This is an early workbench. It is not a production compression utility. The project does not promise a stable file format or a complete command-line tool.
No license file is published yet. Treat this repository as an experimental project until a license is added.