# New Ticket Created by  Will Coleda 
# Please include the string:  [perl #38168]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/rt3/Ticket/Display.html?id=38168 >


Make TclList properly map to a ResizablePMCArray so that

lib/commands/list.pir can be simplified to:

.namespace [ "Tcl" ]

.sub "&list"
   .param pmc argv :slurpy
   .return(argv)
.end

(There are probably several other places in the code where this would  
save us a painful conversion from one type to another.

At this point, PMCs can only map one HLL: this is probably just a  
limitation of the pmc2c.pl script that can be resolved with some  
perl. (pmc2c doesn't err, but silently omits additional maps  
directives from the generated C)

TclList may also need some more methods to compliant with a  
ResizablePMCArray - it is not currently resizable.


[[ I tried swapping out the mapping in my sandbox, and got: push_pmc 
() not implemented in class 'TclFloat' ]]

Reply via email to