lua-users home
lua-l archive

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


> Likewise, nothing stops a standard structural text-based format from
> using a nicer syntax. in this department, YAML has actually gained
> some support, although I find it a bit too strict and complex for
> arbitrary user-editable configuration files

In this department, there's also JSON and of course Lua tables, which
I've used in binary files to save large matrices of data and find to
be really interesting for this purpose since you can actually read the
header info.  An excerpted example:

Header{
	planes = 1,
	type = 'float32',
	dim = {18, 18},
}
data: