Am 28.09.12 11:31, schrieb Steffen Daode Nurpmeso:
> Wojciech Puchar <woj...@wojtek.tensor.gdynia.pl> wrote:
> 
>  |>> but still not anywhere as readable as bsdlabel.
>  |>>
>  |>
>  |> I did specifically say 'machine readable'. The XML is well-formed,
>  |XML is stupid. everything you can do with XML can be better described 
>  |using "ancient" style text format
> 
> Or, if all fails, YAML-is-JSON, which is much easier and cheaper
> to parse (than ML), but still a well-defined standard and, in
> comparison, human readable.

These days I use Lua with its nice table-definition syntax for config
files in many programs.  Of course sandboxed, and with most functions
turned off in the sandbox.  The files are very readable, but of course
you pay the price on including the Lua interpreter (although it's small).


_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Reply via email to