Re: Constant strings - again

2004-04-18 Thread Leopold Toetsch
Jeff Clites <[EMAIL PROTECTED]> wrote: > It should be possible to aggregate all of the constants into a single > array (one include, rather than one-per-source-file), which would let > us identify them by their memory location, as residing in this range. > That seems pretty straightforward to do.

Re: Constant strings - again

2004-04-18 Thread Leopold Toetsch
Leopold Toetsch <[EMAIL PROTECTED]> wrote: [ initial proposal ] I've now checked in a working version. * c2str.pl generates a .str header from a .c file * c2str.pl --all generates $(INC)/string_private_cstring.h * this us used in string_init() to finally generate entries in the interpreter's c