Benjamin Goldberg <[EMAIL PROTECTED]> wrote: > Allow .macro in imcc, for when we're parsing pir code.
This is already enabled. > Macro-ize the stub functions in default.pmc, so that throwing an > exception takes one line of C code. Yep. And autogenerate these from vtable.tbl if default.pmc has no implementation. This makes it easy to add or remove vtable methods. > Get more functions which explicitly declare "ParrotInterpreter * > interpreter" to use the INTERP macro. Some unification would be fine, yes. And: s/ParrotInterpreter/ParrotInterp/ > Allow imcc to generate C code (a la pbc2c.pl, but one subroutine at a > time, so as not to overload gcc/whatever's optomizer.) That's mainly 2 things: 1) include the opcode bodies in op_lib. 2) Replace encoded operands with the actual things. Having e.g. C<pcre> in the core would probably simplify this kind of string fiddling a lot. leo