asdlGen
Reference Manual
: Using the Code Produced
: Cyclic Data Structures CaveatThe code that pickles data assumes that the data structures are acyclic. If
a cyclic data structure is pickled the pickler will not terminate. asdlGen
does not enforce this acyclic property in C, C++, and Java. It is the
responsibility of the programmer to do so. The lack of enforcement gives the
programmer greater flexibility when manipulating data structures. In future
there will be an option to produce code that enforces acyclic data
structures for those who would rather avoid the dangers associated with the
extra flexibility.
asdlGen
Reference Manual
: Using the Code Produced
: Cyclic Data Structures Caveat