c2ffi icon indicating copy to clipboard operation
c2ffi copied to clipboard

json to c

Open GunpowderGuy opened this issue 1 year ago • 0 comments

Hello, i am interested in writing an automatic binding generator for idris2. Such a tool would need to declare c type signatures, which it can get from c2ffi , however it would also need to generate c code for wrapper code, as idris2 ffi only supports a subset of c calling conventions and types.

My question is whether this tool could be extended to not only produce json from c code, but the opposite, produce c code from json, to make it easier to generate c code from other languages

GunpowderGuy avatar Aug 31 '24 04:08 GunpowderGuy