E&S CVS Commit: PEAK-Rules - Simplify CriteriaBuilder by moving the
actual criterial logic to
pje at eby-sarna.com
pje at eby-sarna.com
Mon Aug 16 21:25:46 EDT 2010
Author: pje
Date: Mon Aug 16 21:25:45 2010
New Revision: 2673
URL: http://svn.eby-sarna.com?rev=2673&view=rev
Log:
Simplify CriteriaBuilder by moving the actual criterial logic to
exprssionSignature(), leaving just the binding-management and
meta-function support in the class. This simplifies some things
for meta-function compilers, since they only have to deal with one
kind of builder now, and they can use expressionSignature to convert
their arguments into conditions instead of expressions, if needed.
(This should also make it easier to implement an @expand_as decorator
for even simpler, compiler-free meta-functions!)
Modified:
PEAK-Rules/Syntax-Matching.txt
PEAK-Rules/peak/rules/predicates.py
PEAK-Rules/test_rules.py
More information about the source-changes
mailing list