All --

How far away are we from being able to deal with arrays? I'd like to
write some tests that involve arrays...

>From a few quick searches, it seems to me that we need to implement
arrays via PMCs. I think that means we need a way to use some op(s)
to perform memory allocations, etc., unless we'll

    make_object P1, "ARRAY"  # Handles memory allocation somehow
    call_method P1, "push"   # How to pass in args?
    ....
    call_method P1, "DESTROY" # Or, is there another way?
    
Dan? Simon? Are we far away from this, or getting close? Are we
implementing the guts of such things in C and accessing via PMC
and methods, or are we implementing ops for vectors-of-pointers
on top of which the ARRAY API will be built?

I'd at least like to know enough about how its going to look so
a sample program can be exhibited.


Regards,

-- Gregor
 _____________________________________________________________________ 
/     perl -e 'srand(-2091643526); print chr rand 90 for (0..4)'      \

   Gregor N. Purdy                          [EMAIL PROTECTED]
   Focus Research, Inc.                http://www.focusresearch.com/
   8080 Beckett Center Drive #203                   513-860-3570 vox
   West Chester, OH 45069                           513-860-3579 fax
\_____________________________________________________________________/

Reply via email to