Hi, could we add a page listing the modules by levels following this rule * A module is in Level 0 if it doesn't depends on other modules * A module is in Level 1 if it depends only on modules at level 0 * A module is in Level N+1 if it depends only on modules at level N or lower levels We have now the following modules that satisfy the rule Moduler levels Level 0 : Config Predef Preprocessor Level 1 : Assert Static Assert Level 2 : Core Level 3 : Utility (After moving string_ref out (???), moving iterator to Core and generator_iterator to Iterator Peter, could you update the Dependency report? Could your report assign a level following this rule and show the modules with an assigned level? Best, Vicente
Le 04/06/14 09:03, Vicente J. Botet Escriba a écrit :
Moduler levels
Level 0 : Config, Predef, Preprocessor Level 1 : Assert, Static Assert, Io
Level 2 : Core
Level 3 : Utility (After moving string_ref out (???), moving iterator to Core and generator_iterator to Iterator
My bad Utility depends also on MPL. Vicente
Vicente J. Botet Escriba wrote:
Could your report assign a level following this rule and show the modules with an assigned level?
Currently we have so many cycles in our dependency graph that the levels are essentially useless. Everything is on level 4 with a few exceptions. Module level report: Level 0: *unknown* compatibility config predef preprocessor Level 1: assert -> config io -> config static_assert -> config Level 2: core -> assert config integer -> config static_assert throw_exception -> assert config Level 3: bind -> config core static_assert context -> config integer crc -> config integer logic -> config core system -> assert config core integer Level 4: (everything else, omitted for brevity)
Vicente J. Botet Escriba wrote:
Peter, could you update the Dependency report?
There you go. http://www.pdimov.com/tmp/report-b7f652a/module-overview.html
Could your report assign a level following this rule and show the modules with an assigned level?
Sure. http://www.pdimov.com/tmp/report-b7f652a/module-levels.html This is the develop branch of the super-project as of now.
participants (2)
-
Peter Dimov
-
Vicente J. Botet Escriba