Synthesis of pyrido[2,3-e]pyrrolo[1,2-a]pyrazine derivatives via tandem iminium cyclization and smiles rearrangement.