WIP add a compiler pass and tagged generators