[perl #29994] [BUG] "loadlib $P0, varname" not working correctly

2007-02-21 Thread Klaas-Jan Stol via RT
On Tue Jun 15 08:13:06 2004, leo wrote: > Dan Sugalski <[EMAIL PROTECTED]> wrote: > > At 9:50 AM +0200 6/3/04, Leopold Toetsch wrote: > >>Dan Sugalski <[EMAIL PROTECTED]> wrote: > >> > >>> Option two here would be the right one. > >> > >>For dynamic PMC classes and NCI yes. *But* what about dynami

Re: [perl #29994] [BUG] "loadlib $P0, varname" not working correctly

2004-06-15 Thread Leopold Toetsch
Dan Sugalski <[EMAIL PROTECTED]> wrote: > At 9:50 AM +0200 6/3/04, Leopold Toetsch wrote: >>Dan Sugalski <[EMAIL PROTECTED]> wrote: >> >>> Option two here would be the right one. >> >>For dynamic PMC classes and NCI yes. *But* what about dynamic opcode >>libs? The PASM/PIR compilers have to load i

Re: [perl #29994] [BUG] "loadlib $P0, varname" not working correctly

2004-06-05 Thread Leopold Toetsch
Dan Sugalski <[EMAIL PROTECTED]> wrote: > Well... not necessarily. The original scheme was for the opcode > loading code to specify what numbers the loaded opcodes would get for > the compilation unit in question. Opcode numbers only aren't sufficient. The compiler checks argument count and types

Re: [perl #29994] [BUG] "loadlib $P0, varname" not working correctly

2004-06-04 Thread Dan Sugalski
At 9:50 AM +0200 6/3/04, Leopold Toetsch wrote: Dan Sugalski <[EMAIL PROTECTED]> wrote: At 9:51 AM +0200 6/2/04, Leopold Toetsch wrote: - don't load extensions at compile time, so that dynamic PMCs have to be created with $I0 = find_type "Foo" $P0 = new $I0 Option two here would be th

Re: [perl #29994] [BUG] "loadlib $P0, varname" not working correctly

2004-06-03 Thread Leopold Toetsch
Dan Sugalski <[EMAIL PROTECTED]> wrote: > At 9:51 AM +0200 6/2/04, Leopold Toetsch wrote: >>- don't load extensions at compile time, so that dynamic PMCs have to be >> created with >> >>$I0 = find_type "Foo" >>$P0 = new $I0 > Option two here would be the right one. For dynamic PMC class

Re: [perl #29994] [BUG] "loadlib $P0, varname" not working correctly

2004-06-02 Thread Dan Sugalski
At 9:51 AM +0200 6/2/04, Leopold Toetsch wrote: - don't load extensions at compile time, so that dynamic PMCs have to be created with $I0 = find_type "Foo" $P0 = new $I0 Option two here would be the right one. -- Dan --

Re: [perl #29994] [BUG] "loadlib $P0, varname" not working correctly

2004-06-02 Thread Leopold Toetsch
Jens Rieks <[EMAIL PROTECTED]> wrote: > % cat error.imc > .sub _main @MAIN > .local string na123me > na123me = "/foo" > loadlib $P0, na123me > end > .end > % ./parrot -o error.pbc error.imc > Couldn't load 'runtime/parrot/a123m': The parser currently loads extensions at compile

[perl #29994] [BUG] "loadlib $P0, varname" not working correctly

2004-06-01 Thread via RT
# New Ticket Created by Jens Rieks # Please include the string: [perl #29994] # in the subject line of all future correspondence about this issue. # http://rt.perl.org:80/rt3/Ticket/Display.html?id=29994 > % cat error.imc .sub _main @MAIN .local string na123me na123me = "/foo" lo