[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
On Thu, Aug 23, 2001 at 12:09:18PM -0300, Steve Mosher wrote:
> Ahh, rock on, and thanks. Now my slew of questions (coming soon!) will be 
> less redundant.
> 
> In the meantime, I've got one question that I don't think has been asked:
> 
> Why is coldcore, nearly 50K lines of code, all in one source file? Is it 
> simply that coldcc has no #include directive? If so, couldn't that be easily 
> fixed?
> 
> I've been trying to deduce a lot of the workings of ColdCore by looking at 
> the source, but 2 megs of source is difficult (to say the least) to wade 
> through.
> 
> I have a perl script kicking around somewhere that can be used as a 
> preprocessor to implement #include (as it works in C, effectively), IIRC, I 
> did build some decent recursion handling into it. I can provide a copy of it 
> if you think it would be useful.

There is a script in the genesis distribution (bin/dumpsplit) which
will split and merge a textdump file.  The reason is that the textdump
is really a raw 'export' format, and is not intended for general
editing, but is still readable for emergency purposes.

-Brandon