A cascade reaction sequence en route to 7-substituted 2 -aminopyrrolo[1,2 -a]pyrimidine -4,6 -diones and the corresponding acrylic acid derivatives