E&S CVS Commit: PEAK-Rules - PEAK-Rules is now as "smart" as
RuleDispatch, in that it now
pje at eby-sarna.com
pje at eby-sarna.com
Sat Jun 23 22:05:17 EDT 2007
Author: pje
Date: Sat Jun 23 22:05:15 2007
New Revision: 2313
URL: http://svn.eby-sarna.com?rev=2313&view=rev
Log:
PEAK-Rules is now as "smart" as RuleDispatch, in that it now
"knows" as much as RuleDispatch does about logical conditions
regarding Python objects, and how to index them efficiently.
The machinery is also better documented (and probably better
tested) than the equivalent bits of RuleDispatch.
Alas, this does not mean that you can actually use Python
expressions for generic function criteria yet, as the actual
tree builder/interpreter hasn't been written. So we can
evaluate and index expressions, but not build them from an AST
or build/run a dispatch tree from the indexes. Still, it's
getting *really* close now!
Added:
PEAK-Rules/Criteria.txt (with props)
Modified:
PEAK-Rules/DESIGN.txt
PEAK-Rules/Indexing.txt
PEAK-Rules/peak/rules/core.py
PEAK-Rules/peak/rules/criteria.py
PEAK-Rules/peak/rules/indexing.py
PEAK-Rules/test_rules.py
More information about the source-changes
mailing list