basically this will be built on top of the path matching / resolving mechanism coded thus far. but we'll need some additional flags and some DSL magic