Vignette's CMS has offered this functionality for years in the commercial enterprise space, and Adobe/Macromedia Contribute has offered this functionality for years in the commercial consumer space.
Thanks for the links - I checked these out, and while they are cool CMS products, it's not quite what I had in mind. I'm not looking for a full CMS system or framework, I just want a simple library + compiler that can plug into any existing site that is not built on top of a CMS backend.