tech-kern archive

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

Re: RFC: ppath(3): property list paths library



On Fri, Nov 05, 2010 at 02:24:16PM -0500, David Young wrote:
> On Wed, Nov 03, 2010 at 05:57:39AM +0000, David Holland wrote:
> > On Mon, Nov 01, 2010 at 08:00:09PM -0500, David Young wrote:
> >  > I'm working on a library called ppath(3) for making property lists more
> >  > convenient to use in the kernel.  With ppath(3), you refer to a property
> >  > to read/write/delete in a property list by the path from the list's
> >  > outermost container.  Comments welcome.
> > 
> > Speaking from the POV of someone who's been working on querying
> > semistructured data for several years now... I have a pile of
> > high-level questions: (1) can you articulate the expressive power you
> > intend for your path expressions, and why that's a logical stopping
> > point vs. more expressive things;
> 
> I want to index individual elements in a property list using succinct
> and reliable C code.  Ideally, I would be able to treat a property
> dictionary/array as a C struct/array and use an expression such as
> "a[i].b.c.d[j]".

It'd be really great if this can replace sysctl tree code completely.

Masao

-- 
Masao Uebayashi / Tombi Inc. / Tel: +81-90-9141-4635


Home | Main Index | Thread Index | Old Index