This has been working for some time, probably after 1.4.0

Here's a functional PIR file that can be run using an installed parrot 
in a top level dir of a partcl checkout: (the mapping for tcllist has 
moved into the library load, since it's not a PMC anymore.

% cat foo.pir
.HLL 'tcl'
.namespace []

.loadlib 'tcl_group'

.sub '' :anon :init
  load_bytecode 'runtime/tcllib.pir'
.end

.sub main :main
.param pmc argv
$S0 = typeof argv
say $S0
foo(argv :flat)
.end

.sub foo
.param pmc args :slurpy
$S0 = typeof args
say $S0
.end
%parrot foo.pir
ResizableStringArray
TclList


-- 
Will "Coke" Coleda
_______________________________________________
http://lists.parrot.org/mailman/listinfo/parrot-dev

Reply via email to