|
Boost : |
Subject: Re: [boost] Question about Spirit architecture
From: Joel de Guzman (joel_at_[hidden])
Date: 2009-02-23 21:26:47
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.html
>
> 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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk