A build-time serialization code generator for C. Kwil can write code to (de-)serialize C structs from and to json (and maybe other formats in the future).
 
 
Go to file
Sara 833e7bd2b0 Update 'README.md' 2023-09-13 19:06:49 +00:00
src added default returns to generated enum functions 2023-09-13 12:46:01 +02:00
test_files adadded tests for enum serialization to test files 2023-09-13 12:46:12 +02:00
test_include wrote test 2023-09-11 18:44:37 +02:00
.gitignore created project files 2023-09-11 18:44:29 +02:00
.nvimrc switched build and test scripts to a makefile 2023-09-13 13:15:25 +02:00
LICENSE added license 2023-09-13 10:36:24 +02:00
Makefile switched build and test scripts to a makefile 2023-09-13 13:15:25 +02:00
README.md Update 'README.md' 2023-09-13 19:06:49 +00:00
compile_commands.json created project files 2023-09-11 18:44:29 +02:00

README.md

Kwil Header tool

An in-development command line tool for generating serialization code from C header files.

Features:

[x] Generate *_json_length and *_to_jsonfunctions for structs and enums marked with KWIL_STRUCT() or KWIL_ENUM()

[ ] Generate *_from_json functions for structs.

[ ] Dynamic array length specifiers (e.g: KWIL_FIELD(LEN=13 or KWIL_FIELD(LEN=field_length)