[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: serializing lua tables
- From: Kriss <Kriss@...>
- Date: Mon, 21 Mar 2005 15:48:29 +0000
Adrian Sietsma wrote:
I think I'm of the opinion that if the comments are important to
maintain between reads/writes they don't belong in lua comments but
instead as a comments field in the table data.
into a table (that's easy), and then a routine to write it back (also
easy), in source-file order (harder), with the comments (line comments
only is good enough).
has someone done this ? it would seem to be a generally useful utility.
Well, its an easy solution at least :)
Same for the ordering of the tables, if thats ultra important then work
it into the data.
A generic system to do what you want, probably comes under the heading
http://XIXs.com -><- http://www.WetGenes.com