[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Lua as save file - how to generate lua file
- From: Klaus Ripke <paul-lua@...>
- Date: Mon, 6 Mar 2006 14:58:21 +0100
On Mon, Mar 06, 2006 at 01:53:10PM +0000, Andy Stark wrote:
> The Lua table format is so simple and powerful that it would be useful in
> its own right whatever language you were using. Also, making it available
> might increase the adoption of Lua. If you were using the data format for
> its own sake then it would also be useful to learn Lua as it is obviously
> the "natural" language to process the format.
I guess it's too late.
There already is a format with similar virtues called JSON.
There is a parser at http://json.luaforge.net/
It's GPLed, but rolling your own should be no problem if that's an issue.