tritiumdev / cereal-ocpp2

C/C++ cereal interface generator for OCPP 2.0 JSON schemas
GNU Lesser General Public License v3.0
16 stars 7 forks source link

write a generator script for 1.6J #8

Open wolfwoolford opened 5 years ago

wolfwoolford commented 5 years ago

this is on my wish list... I might do it shortly unless an angel appears to do the same...

wolfwoolford commented 5 years ago

This is done. The generator python code is so similar to the stuff we use for 2.0 that I'm wondering if it's worth condensing the two variants into one uber python tool.

I also see some "TypeType" definitions around which I am aiming to clean up...

ncoghlan commented 5 years ago

Combining would make sense if the generator can infer what it needs from the input schemas.