cddl-codegen
                                
                                
                                
                                    cddl-codegen copied to clipboard
                            
                            
                            
                        Codegen serialization logic for CBOR automatically from a CDDL specification
We need to standardize where to declare map/array wasm wrappers when they're implicit e.g.: ``` foo = { implicit_arr: [* bar] implicit_map: { * abc => xyz } } ```...
https://github.com/dcSpark/cddl-codegen/pull/129 added support for floats, but left support for floats as keys as future work. Notably, float keys currently throw with `unsupported map key type` This is also low priority...
https://github.com/dcSpark/cddl-codegen/pull/129 added support for floats, but left `preserve_encodings` as future work. You can find more context [here](https://github.com/dcSpark/cddl-codegen/pull/129#discussion_r1084522133) specifically This is very low priority I think, but maybe somebody will want...
e..g extern types, custom serialization, etc not done right now as it impacts both #228 and #234
Fixes this issue: https://github.com/dcSpark/cddl-codegen/issues/241
I have this CDDL file: ``` cmd_start = 0 cmd_stop = 1 my_command = [ command: cmd_start/cmd_stop ] ``` This works with zcbor.py, but with cddl-codegen, I get this output:...