Hi, Is it possible for parrot embedders to find out whether a certain name is an op?
IMCC uses a function "is_op", but it's poking in the Parrot_Interp structure. The pir compiler must be able to check which names are ops and which are not. My goal is to embed a Parrot_Interp in compilers/pirc/new, so that the pir compiler is completely separate from the runtime environment. Of course, some code must be run after compilation (:postcomp, :immediate), but the idea is to keep them separate. I'd like to know whether this approach is desirable (have the pir compiler embed a parrot), and whether there are any ideas or proposals to fix this. My approach would be to add functions to the embed.h interface, as it is some introspection into the parrot runtime. kjs