I did a proof of concept module quite a while ago for a
problem which is very similar to this
at Versioned modules. I never went anywhere with it, nor do I
want to. But if you want to pick up where I left on and
run with it, go right ahead.
Comment on Re (tilly) 1: version based compilation