On Sat, 2002-05-11 at 00:39, Dan Sugalski wrote: > At 8:58 PM -0700 5/10/02, [EMAIL PROTECTED] wrote: > >I was wondering how perl6 would stringify (as in Data::Dumper): > > That's not stringification. It's serialization, which is a different > thing entirely. > > What you'll potentially get is a thing that can be completely > reconstituted into what it originally was, complete with variables, > methods, attributes, and whatnot. How much gets serialized depends on > what you'll choose--in the worst case, your entire program will need > to get serialized, but that'll be doable.
This seems like a no-brainer to me, so I must be missing something ;-) Wouldn't it be possible to just settle on Parrot byte-code as a serialization form? If so, everything is serializable, no? Granted, your data might not come out intact if your writer and reader don't agree in module versions, but this is a minor nit in the scheme of things.