On Tue, 16 Oct 2001, Dan Sugalski wrote: > You access the bytes individually the same way you do now. If a string is > of type "8-bit byte" then a character is a byte, and vice versa.
> >I'm thinking of porting GCC, of course <G>. However, I'm thinking that > >pretty much any c-like language is going to want somthing like this. > Not that I mind people trying--that's fine. But it's not a primary target > for us. (We'd be far better served targetting GCC's back end than we would > getting GCC to target ours...) What I'm thinking is that if you can compile C code to target the PVM, we can have it be /almost/ trivial to run C code with the portablity of Parrot, and make C code callable from Perl and vice-versa with only a recompile. (Or you can not recompile, and make a perl extension, but that'd be more work.) If our VM can run C and C++, then we hugely expand the usefulness of both C/C++ and Parrot. And that can only be a win for everybody. -=- James Mastros -- Put bin Laden out like a bad cigar: http://www.fieler.com/terror "You know what happens when you bomb Afghanastan? Thats right, you knock over the rubble." -=- SLM