Note that I don't want to make the eventual STM merge more difficult than
necessary, so I don't think we can make these cleanups yet, particularly
because these cleanups are mostly around the interpreter structure, which of
course is everywhere.
Ideas I've got:
* standarizing on "interp" or maybe even "intr" as the interpreter
variable, for brevity & consistency
* a macro for declaring the interpreter argument, and maybe a macro for
passing it
(BTW, our Perl experience teaches us that somebody is going to
want to make the interpreter a C++ object for Windows environments,
and it wouldn't hurt to make that possible, or at least work in that
direction, as long as clarity doesn't suffer)
* eliminating the CONTEXT(interp->ctx)->foo usage in favor of the
much simpler interp->ctx->foo , or similar simplification
* automated processing that would make a macro to let us write
somefunc(interp,a,b,c)
while the linkage is
Parrot_somefunc(interp,a,b,c)
for namespace cleanup
Once the STM merge is done, I will enjoy crying "Havoc!" and letting slip
the cage cleaners of war.
--
Chip Salzenberg <ch...@pobox.com>
> Ideas I've got:
>
> * standarizing on "interp" or maybe even "intr" as the interpreter
> variable, for brevity & consistency
Yeah, that one's bugged me, too.
I've dumped all your suggestions into cage/todo.pod. Thanks for
taking the time to write them up so that I can format them in POD and
make it look like I'm smart.
xoxo,
Andy
--
Andy Lester => an...@petdance.com => www.petdance.com => AIM:petdance
Thanks. That you're editing cage and herding the cage cleaners is a load
off my mind.
--
Chip Salzenberg <ch...@pobox.com>
>> I've dumped all your suggestions into cage/todo.pod.
>
> Thanks. That you're editing cage and herding the cage cleaners is
> a load
> off my mind.
That's my job. I flap my lips a lot, stir the soup, organize it, and
hand it off to other people.
I am manager, hear me roar.