Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: Mold, load and Core 2.6

From: lmecir:mbox:vol:cz at: 15-Mar-2002 18:48

Hi all, trying to catch up with my mailbox. Holger, your explanation is nice and comprehensive. I do agree with you everywhere. I have got just one simple question: <<Holger>> ...snip... 5. Various issues regarding references (circular or otherwise). This is always difficult to handle in the context of serialization. There are three cases: ...snip... 5.c) The data represents a general, directed graph, with cycles. This is strongly discouraged :-). mold and load will not work at all with this kind of data. Comment: No changes are planned regarding this, and the current behavior is not considered to be a bug. Serialization of data structures with non-tree-based references requires special serialization functions. mold and load are not suitable for this. <</Holger>> I do agree with you on this. The problem is, that I want the MOLD (and/or LOAD) function to fail gracefully, i.e. to fire an error instead of "blowing up" the interpreter. Is that too much I am asking for? Best regards Ladislav