]> mj.ucw.cz Git - moe.git/commit
Imporoved and shortened conf.py code
authorTomas Gavenciak <gavento@matfyz.cz>
Sun, 9 May 2010 00:31:51 +0000 (20:31 -0400)
committerTomas Gavenciak <gavento@matfyz.cz>
Sun, 9 May 2010 00:58:42 +0000 (20:58 -0400)
commit66e443ffc4b01a494dec805454f1ef35e9055cf3
tree15a5804cce7c52c38ea27a5ffd9db0ea2435d2db
parent1be80fc62dbf69afbcc91bfd57f35c0a1d0709ad
Imporoved and shortened conf.py code

Removed subtrees, now only one namespace
Transparent variable creation upon lookup
Implemented general condition clauses (AND, OR, NOT, ==, !=)
Conditions now have 'parent' condition (containing condition block)
Variables refer to only one condition (and indirectly its parents)
Renamed get_value -> evaluate and evaluate -> value
Improved max-depth checking
Updated the test/example (still no conditions)
pprint replaced with dump (for consistency, but still returns an iterator)
Some dovumentation (with TODO's)
t/moe/conf.py
t/moe/conf.test.py