[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: LuaForge is down and will be for some time
- From: Leaf Storm <leafstormrush@...>
- Date: Fri, 9 Oct 2009 19:32:08 -0400
2009/10/9 Stuart P.Bentley <firstname.lastname@example.org>:
> (Another point of the architecture's design: it should have an API that
> makes this easy, as well as an easy data dumping facility (to satisfy Eric
> S. Raymond). I recommend something that dumps as a Lua table (formatted
> similarly to a Rockspec).
A data API is definitely a must, but you also want to have more than
just Lua table output. JSON would be good also, because there might be
people writing code in other languages to interface with LuaForge. Lua
tables are a good idea, though - it's much better than having to work
with JSON when using Lua code. No external libraries, no confusion
about whether to dump arrays or maps, and no having to use a function
to represent null.
"There are 10 types of people in the world - those who understand
binary and those who don't."