On Thu, Jul 10, 2014 at 01:26:18PM -0700, Jordan Hubbard wrote:
> 
> On Jul 10, 2014, at 10:20 AM, David Chisnall <david.chisn...@cl.cam.ac.uk> 
> wrote:
> 
> > This is important in a wider context.  For example, in the project to add 
> > machine-readable output to core utilities, we'd like to be able to parse 
> > these into the same machine-readable format.  Apple has the CoreFoundation 
> > library for this, which provides a load of stuff, but most importantly 
> > number, string, date, dictionary, and array types (i.e. the sorts of things 
> > that you'd want in JSON-like serialisation formats).
> 
> Just as important as CoreFoundation are APIs like CFPreferences.  I find it 
> frankly horrifying that in the year 2014, anyone who writes a new daemon or 
> system service will have to invent their own ad-hoc configuration file format 
> in /etc (because, you know, there really aren't enough of them there now) as 
> well as their own out-of-band mechanism for detecting when the configuration 
> data changes. Having a data serialization format would the first step.
> 
We do have libucl in base for that purpose exactly.

regards,
Bapt

Attachment: pgpXQLUaEUbuZ.pgp
Description: PGP signature

Reply via email to