lua-users home
lua-l archive

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

JSON and/or YAML should be provided by the API for communication. The Lua thing was more for users to saveas a backup/ rudimentary Rockspec.

From: "Leaf Storm" <>
Sent: Friday, October 09, 2009 P4:32
Newsgroups: gmane.comp.lang.lua.general
To: "Lua list" <>
Subject: Re: LuaForge is down and will be for some time

2009/10/9 Stuart P.Bentley <>:
(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.

-- Leaf
"There are 10 types of people in the world - those who understand
binary and those who don't."