I will now demonstrate my ignorance of the parrot build system: On Mon, Jul 22, 2002 at 04:23:08PM +0000, Alberto Manuel Brandão Simões wrote:
> Opefully, this can be accepted ;) Do pmc files get turned pretty directly into C code? Content-Description: boolean.pmc > /* boolean.pmc > * Copyright: (When this is determined...it will go here) > * CVS Info > * $Id$ > * Overview: > * These are the vtable functions for the Boolean base class > * Data Structure and Algorithms: > * History: > * Notes: > * References: > */ > void set_bignum (PMC* value) { > /* XXX not sure if this can be optimized further safely */ > // SELF->cache.struct_val = (DPOINTER*)value->vtable->get_bignum(INTERP, >value); > /* SELF->vtable = &(Parrot_base_vtables[enum_class_PerlBigNum]); */ > } And if pmc files get turned pretty directly into C code, do the C++ style comments stay in there? If yes and yes, then the patch won't be acceptable as is. We need to use /* */ comments only, as // isn't valid in C89. (apart from that I don't know enough about anything perl6 to know whether this is a good idea, and if so whether this is the best way to implement the idea. Someone else knowledgeable will have to comment) Nicholas Clark