[CH2:1]([O:3][C:4]([C:6]1[N:7]=[CH:8][C:9]2[NH:10][C:11]3[CH:12]=[C:13](OC)[CH:14]=[CH:15][C:16]=3[C:17]=2[N:18]=1)=[O:5])[CH3:2].NC1C=[C:28]([O:30]C)C=CC=1C#N>>[CH2:1]([O:3][C:4]([C:6]1[N:7]=[CH:8][C:9]2[NH:10][C:11]3[CH:12]=[CH:13][CH:14]=[C:15]([O:30][CH3:28])[C:16]=3[C:17]=2[N:18]=1)=[O:5])[CH3:2]The 7-methoxy-5H-pyrimido[5,4-b]indole-2-carboxylic acid ethyl ester is produced analogously, but starting with 2-amino-4-methoxybenzonitrile.