/* The simplest test transforming two loops in a one with the elementary negative restrictions. The input parameter may be a string in any alphabet. */ /***********************************************/ /* the input program */ /***********************************************/ $ENTRY Go { e.InitialString = >; } F { = ; 'A' e.String = 'B'; s.NotA e.String = s.NotA ; } G { = ; 'B' e.String = 'C'; s.NotB e.String = s.NotB ; } /***********************************************/ /* the residual program */ /***********************************************/ /* $ENTRY Go { e.x1 = ; } G_0 { (e.x1) () = e.x1; (e.x1) ('A' e.x2) = ; (e.x1) ('B' e.x2) = ; (e.x1) (s.z1 e.x2) = ; } */