kwil-header-tool/README.md

12 lines
391 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.
Features:
2023-09-13 19:05:27 +00:00
2023-09-13 15:08:26 +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
2023-09-13 15:08:26 +00:00
[ ] Generate `*_from_json` functins for structs.
2023-09-13 19:05:27 +00:00
2023-09-13 15:08:26 +00:00
[ ] Dynamic array length specifiers (e.g: `KWIL_FIELD(LEN=13` or `KWIL_FIELD(LEN=<field_name>`)