use of opcode load_language
Allison Randal
allison at parrot.org
Thu Sep 10 22:34:35 UTC 2009
François Perrad wrote:
> I've refactored the language WMLScript with the opcode load_language.
> That's work fine for dynops & dynpmc.
>
> But when I load the runtime standard libraries (in src/wmlsstdlibs.pir),
> I always need the prefix 'library' in the path
>
> sub 'load_stdlibs'
> load_bytecode 'library/wmlslang.pbc'
> load_bytecode 'library/wmlsfloat.pbc'
> load_bytecode 'library/wmlsstring.pbc'
> load_bytecode 'library/wmlsconsole.pbc'
>
> What I missed ?
You're not missing anything. Parrot was missing adding the
language-specific library search path in 'load_language'. Try it after
r41189.
Allison
More information about the parrot-dev
mailing list