On Fri, Apr 18, 2008 at 12:47 PM, chromatic <[EMAIL PROTECTED]> wrote: > > On Friday 18 April 2008 07:45:43 Patrick R. Michaud wrote: > > > On Fri, Apr 18, 2008 at 06:30:24AM -0700, Stephane Payrard wrote: > > > The error message is "No such caller depth" > > > > Having it working would be a additional tool. > > > Indeed, I wanted to tweak the code manually to see the code I needed > > > the rakudo compiler to generated. > > > > > > I have not investigated but I suppose some setting code is missing. > > > The code produced by --target=pir won't run standalone, it also > > needs support code for loading the Perl 6 runtime libraries > > (i.e., perl6.pbc). > > Is it useful to add code to HLLCompiler for this purpose? I've wanted > something similar in Pheme for a while, and I suspect it would help with > debugging Tcl and Lua as well. > > -- c >
FYI, tcl doesn't (yet?) use HLLCompiler, and rolls its own PIR generation. If you run: ../../parrot tcl.pbc --pir -e 'puts hi' you should get PIR that can run standalone. -- Will "Coke" Coleda