lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Thu, Jul 10, 2008 at 5:08 PM, Javier Guerra <[email protected]> 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