Leopold Toetsch wrote: > >> + #$P1 is now a array-like container PMC with three Integer elements. > The question is of course, which type of PMC array?
The answer is surely, the array-type of the current HLL (as returned by Parrot_get_ctx_HLL_type). > does JSON define to deal with self-referential structs? JSON is a very simple specification that does not handle self-referential structures. I've already wrapped Will's JSON code in an Amber class and am using it for debugging output. I'm planning to use JSON later to initialize constants from strings. For sure, Parrot's various serialization libraries could be generalized, and the common stuff factored out. But in the meantime, the JSON lib is useful. Regards, Roger Browne