On Sat Jan 19 03:49:24 2008, kjs wrote: > when invoking a PCT-based compiler, such as punie, pynie, perl6, etc, one > can give a target option, like so: > > ../../parrot js.pbc --target=pir <file> > > to see the generated PIR. > > When you give the --trace flag to parrot (-t), /and/ giving the --target > flag, this won't work: > > G:\cygwin\home\Kramer\parrot\languages\ecmascript>..\..\parrot -t > js.pbc--target=pir > Option --target=pir not known > parrot -[abcCEfgGhjprStvVwy.] [-d [FLAGS]] [-D [FLAGS]][-O [level]] [-o > FILE] <file>
If you specify an argument to -t, ala: ./../parrot -t 1 js.pir --target=pir This works. without the 1, js.pir is probably taken as the arg to -t, leaving parrot itself to consume -- target, which it doesn't know about.