On Fri, 2004-04-30 at 15:34, Dan Sugalski wrote: > If you want, you could think of the S-register strings as mini-PMCs. > The encoding and charset stuff (we'll ignore language semantics for > the moment) are essentially small vtables that hang off the string, > and whatever we do with it mostly goes through those vtable functions.
Yeah, I was thinking that perhaps all the non-buffer semantics should have been a PMC (that then wrapped and used the SREG with its byte-buffer semantics). The PMCs would then be as lax or strict with text semantics as it needed to be, without causing semantic interference to different language's needs. Everything's possible with enough abstraction, and all that. Slow and bulky, though. Oh, well, two years late and a dollar short. > > Which sort of argues for putting the bitstring stuff in there > somewhere as well. (And may well argue for MMD on string operations, > but I think that makes my head hurt so I'm not going there righ tnow) Good 'nuff. Thanks, -- Bryan C. Warnock bwarnock@(gtemail.net|raba.com)