The experiments on specializing the word equation interpreters by the supercompiler SCP4


The list of the interpreters used in the experiments:


Example #1 (The basic word equation interpreter: string type variables):

The source code of the interpreter


Example #2 (Splitting equation from the left side: string type variables):

The source code of the interpreter


Example #3 (Splitting equation from the both sides: string type variables):

The source code of the interpreter


Example #4 (Splitting equation from the left side: string and letter type variables):

The source code of the interpreter


Example #5 (Splitting equation from the both sides: string and letter type variables):

The source code of the interpreter


Example #6 (Specialization task: the order of computation):

The input and residual programs


Example #7 (Specialization task: possible values of variables):

The input and residual programs