| .helix | ||
| src | ||
| test_files | ||
| test_include | ||
| .gitignore | ||
| .nvimrc | ||
| compile_commands.json | ||
| LICENSE | ||
| Makefile | ||
| README.md | ||
Kwil Header tool
An in-development command line tool for generating serialization code from C header files.
Kwil aims to be a non-intrusive drop-in (and if necessary drop-out) solution to automate the annoying task of writing deserialization and serialization code.
Currently aiming for json support, though adding (optional) support for other formats is strongly considered for implementing at a later time.
Features:
-
Generate
*_json_lengthand*_to_jsonfunctions for structs and enums marked withKWIL_STRUCT()orKWIL_ENUM() -
Generate
*_from_jsonfunctions for structs. -
Dynamic array length specifiers (e.g:
KWIL_FIELD(LEN=13orKWIL_FIELD(LEN=src->field_length)