We have our own custom text serialization format for game objects.
I’d like to somehow parse this format into python dictionaries.
(I’ve been playing around with pyparsing with some success, but it is a slog.)
The engine already has a c++ library for parsing the serialized text and generating c++ objects.
It occurs to me that it may be smarter to hijack the existing c++ code
And somehow extract python dictionaries or objects from the c++ objects
But the linking of c++ to Python is new territorty for me and I am unsure how best to proceed.
Has anyone tackled similar problems?