[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: validating Lua data
- From: nr@... (Norman Ramsey)
- Date: Thu, 28 Dec 2006 17:20:28 -0500 (EST)
Recently I've been playing around with Lua and XML via the
nice Expat embedding (packages lxp and lxp.lom). It occurred
to me that I now manage a lot of my data using Lua, and I frequently
do some stupid thing like misspell a key name in a table or somesthing
like that. Has anybody thought about the moral equivalent of
XML DTD or XML Schema for describing valid Lua data? I would
love to be able to put my hand-written data through such a validator.
(And surely it would also be useful in the context of toLua, SWIG,
and such tools.)
Norman