E&S CVS Commit: Contextual - Overhaul front-end API to "setting", "resource", "registry", and

pje at eby-sarna.com pje at eby-sarna.com
Sun Mar 11 01:08:36 EST 2007


Author: pje
Date: Sun Mar 11 01:08:35 2007
New Revision: 2300

URL: http://svn.eby-sarna.com?rev=2300&view=rev
Log:
Overhaul front-end API to "setting", "resource", "registry", and
"resource_registry" (not tested/available yet).  This is the absolute
minimum number of elements to express the full possible generality,
at the cost of having to use fixed parameter names to denote the
nature of a setting (or resource's) input.  A parameter of 'expr'
means that the configuration will be lazy, and 'value' means it will
be eager.  There is no other real effect.  The system now allows full
generality in how input values are transformed to outputs (and/or
validated).

This pretty much nails the front-end API to something usable, and I
intend to actually begin using it now.  Everything should now be in
place to implement configuration files, too, although for now I plan
to just use Python code.

Modified:
    Contextual/README.txt
    Contextual/context_tests.txt
    Contextual/peak/context.py




More information about the source-changes mailing list