Is there a supported way of passing parameters to programs running in an
embedded interpreter other than through argv?  Is
interpreter->pmc_reg.registers[1] = ... supported?  The interpreter is
supposed to be opaque, right?

What about a function(macro?) to support setting registers?  Maybe
something along these lines:

Parrot_set_register(
  interpreter, PARROT_PMC_REG_TYPE, 1, Parrot_new_pmc(...)
);
or
Parrot_set_pmc_register(interpreter, 1, Parrot_new_pmc(...));

++t

Reply via email to