]> mj.ucw.cz Git - moe.git/commit
New module for config evaluation. Basic testing.
authorTomas Gavenciak <gavento@matfyz.cz>
Fri, 7 May 2010 00:15:19 +0000 (20:15 -0400)
committerTomas Gavenciak <gavento@matfyz.cz>
Fri, 7 May 2010 00:43:44 +0000 (20:43 -0400)
commit1be80fc62dbf69afbcc91bfd57f35c0a1d0709ad
treeb8595d32652eb06d4a0c2a709532735ede4ea9de
parent15ce71b1babe95534a9aae3a5ef5eb80a7dbaa0d
New module for config evaluation. Basic testing.

Implemented:
* Configuration tree,
* Variables,
* Variable-setting operations ('SET' and 'APPEND')
* Equality conditions (WIP, not tested yet),
* Substitution expressions with text and variables,
* Pretty-printing,
* Caching for variables and conditions with invalidation along reverse-dependencies,
* Add and remove operations from variables with correct reverse-dependency handling (add and remove)

TODO: smarter conditions, variable lookup (and maybe transparent creation),
possibly cleanup of unused variables and conditions

(tests full coverage except conditions)
t/moe/conf.py [new file with mode: 0644]
t/moe/conf.test.py [new file with mode: 0644]