E&S CVS Commit: PEAK-Rules - Bootstrap phase zero: Rules, RuleSets,
and a type-based
pje at eby-sarna.com
pje at eby-sarna.com
Sat May 27 18:19:40 EDT 2006
Author: pje
Date: Sat May 27 18:19:38 2006
New Revision: 2155
URL: http://svn.eby-sarna.com?rev=2155&view=rev
Log:
Bootstrap phase zero: Rules, RuleSets, and a type-based
DefaultEngine that supports only exact type matches, but
is sufficient to implement the "implies()" generic function
(more or less). The @abstract() and @when() decorators
also exist. All in all, a highly miniaturized microkernel
version of peak.rules' future self. The next phase will
be to implement method combination as a generic function,
and to add a bit of code generation to make generic functions
automatically call their __engine__ without needing any
boilerplate code. (Caching would be good, too.)
Modified:
PEAK-Rules/README.txt
PEAK-Rules/peak/rules/framework.py
PEAK-Rules/peak/rules/framework.txt
More information about the source-changes
mailing list