Add the dico core subcommand
Context
This MR provides the core
subcommand, which will extract all the source symbols from a dictionary, i.e. the symbols that belong to the source strongly connected components of the directed graph associated with the dictionary. A strongly connected component is called source if it is a source (null incoming degree) in the condensation graph.
Modified or added files
-
dico.py
: add the argument forcore
subcommand -
digraph.py
: addextract_core
-
core.py
: the module handling the subcommandcore
-
test_dico_core.bats
: unit test for new subcommand
Edited by Alexandre Blondin Massé