
Bernhard Merkle wrote:
Hi boost developers,
The architecture for spirit is documented under http://www.boost.org/doc/libs/1_38_0/libs/spirit/classic/doc/organization.ht...
my question: should all modules of Core (scanner, primitives, composite, non_terminal) also be independent of each other ? so should they be independent subsystems or are they allowed to have dependencies (within the Core layer) ?
"Modules in a layer do not depend on other modules in the same layer. " Yes, that is the strict convention. However, I am no longer sure if that's strictly followed. When designing architectures like Spirit, I take it to task to do extensive analysis (create dependency graphs, etc.). However, typically, commits after commits somehow disrupt the convention, so I am no longer enirely sure if the strict adherence to the design still holds. Regards, -- Joel de Guzman http://www.boostpro.com http://spirit.sf.net