kwil-header-tool/README.md

17 lines
707 B
Markdown
Raw Normal View History

2023-09-13 15:08:26 +00:00
# Kwil Header tool
2023-09-13 19:05:10 +00:00
2023-09-13 15:08:26 +00:00
An in-development command line tool for generating serialization code from C header files.
2023-09-14 09:19:40 +00:00
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.
2023-09-13 15:08:26 +00:00
Features:
2023-09-13 19:05:27 +00:00
2024-02-18 16:40:25 +00:00
- [x] Generate `*_json_length` and `*_to_json`functions for structs and enums marked with `KWIL_STRUCT()` or `KWIL_ENUM()`
2023-09-13 19:05:27 +00:00
2024-02-18 16:40:25 +00:00
- [ ] Generate `*_from_json` functions for structs.
2023-09-13 19:05:27 +00:00
2024-02-18 16:40:25 +00:00
- [ ] Dynamic array length specifiers (e.g: `KWIL_FIELD(LEN=13` or `KWIL_FIELD(LEN=src->field_length`)