{"issue":{"state":"open","pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"milestone":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/d1588981e0248aaa0174906c99df180e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"d1588981e0248aaa0174906c99df180e","url":"https://api.github.com/users/petdance","login":"petdance","id":41100},"assignee":null,"updated_at":"2011-11-14T06:01:47Z","labels":[{"name":"imcc","color":"8899A7","url":"https://api.github.com/repos/petdance/scratch/labels/imcc"},{"name":"Pri-normal","color":"64C2DA","url":"https://api.github.com/repos/petdance/scratch/labels/Pri-normal"},{"name":"rfc","color":"0CF239","url":"https://api.github.com/repos/petdance/scratch/labels/rfc"},{"name":"Sev-medium","color":"8F0079","url":"https://api.github.com/repos/petdance/scratch/labels/Sev-medium"}],"comments":0,"closed_at":null,"url":"https://api.github.com/repos/petdance/scratch/issues/753","body":"This would allow the freezing and thawing of arbitrary constants that can be held in PBC to and from PIR/PASM.\nAttached is a proof of concept PMC to acheive the serialization/deserialization. Currently it only serializes, but it is based on the ImageIO API for object serialization/deserialization and mostly reuses existing tokens from PIR/PASM, so the deserializatoin shouldn't be terribly difficult.\r\n\r\nNew syntax would also have to be added to demarkate the beginings and ends of constant sections as well as to use constants in code sections. Perhaps '.begin_data(123)', '.end_data', and '$C123'.\r\n\r\nI haven't put much work into what the punctuation should be and I'm not quite happy with it yet. I'd appreciate advice in this area especially.\r\n\r\n\r\nOriginally http://trac.parrot.org/parrot/ticket/1644","html_url":"https://github.com/petdance/scratch/issues/753","title":"[RFC] Text format serializer for PASM/PIR constants","number":753,"id":2226114,"created_at":"2011-11-14T06:01:47Z"},"action":"opened"}