diff -r 7977c1bdba1f -r c9fece435aa2 src/Configuration.h --- a/src/Configuration.h Tue Feb 05 00:06:44 2019 +0100 +++ b/src/Configuration.h Tue Feb 05 12:14:58 2019 +0100 @@ -56,6 +56,7 @@ /** * Variable definitions for this relation. * Can be used as a safe way for passing parameters from the outside environment. + * See also Configuration::definitions (can be overridden by relation's definitions) */ std::vector definitions; /** @@ -67,8 +68,13 @@ class Configuration { public: vector relationConfigurations; + /** + * Global definitions for all relations. + * Can be used as a safe way for passing parameters from the outside environment. + * See also RelationConfiguration::definitions + */ + std::vector definitions; - // TODO: --define – global definitions (for all relations)? // TODO: --relation … --drop – will execute --for-each, but no output will be generated for this relation // TODO: --create t2 3 a integer b boolean '…guile…' – allow creating new relations? Or allow calling startRelation() and attribute() from Guile?