Re: 142 (v1): Enhanced Pack/Unpack
[email protected] (Tom Christiansen)
| Newsgroups | perl.perl6.language.data |
|---|---|
| Message-ID | <2510.967139411@chthon> |
>The existing pack and unpack methods depend upon a simple >grammar which leads to opaque format specifications, Well, can lead. "f c4" is easy, but the big ones aren't. >which are >often difficult to get right, and which carry no information >regarding variable names. >A more descriptive grammar, which includes variable name >associations, would make pack and unpack easier to use. I see that I've *got* to dig up my own proposal on this I made regarding what amounts to a perl5 rewrite of c2ph, which deals with exactly the same subject matter. At least, it could, and wouldn't have anything to do with C. But it had all the notions of objects and I/O overloading and record types and nice names and all that. <time passes> Drat. I can't find it anywhere. I sent it to a few people here within the last year. If someone still has it (Mark? Nat?) could you please shoot it back at me? --tom