[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Translating Lua tables to Python
- From: "Bertrand Mansion" <lua@...>
- Date: Thu, 10 Jul 2008 17:23:22 +0200
On Thu, Jul 10, 2008 at 5:08 PM, Javier Guerra <javier@guerrag.com> wrote:
> On Thu, Jul 10, 2008 at 10:01 AM, Patrick Donnelly
>> I've searched the archives and lua-users wiki but could not find
>> anything. Has anyone made a tool (in Lua) that dumps a table in Lua to
>> be a loadable Hash Map in Python?
>
> i don't know of any specific for this, but a simple solution would be
> to use a more 'standard' interchange format. JSON sounds just right
Or YAML and Syck [1], there is a lua binding.
There is also the Lunatic project [2]
[1]: http://whytheluckystiff.net/syck/
[2]: http://labix.org/lunatic-python
-----
Bertrand Mansion
Mamasam