Java Supercompiler. Version 0.0.75. Copyright (c) 2001 Supercompilers, LLC. /* Supercompilation options -------------------------------------------------------------------- internal option name | command line option = value -------------------------------------------------------------------- method | -method <method identifier> = test allMethods | -allMethods, -allm, -am = false destinationDir | -destination <directory> = invokeLimit | -invoke<n>, -i<n> = no recurLimit | -recur<n>, -r<n> = 5 arrayLimit | -arrayLimit<n>, -al<n> = 10 joinLabeled | -joinLabeled, -jla, -join, -j = true joinTree | -joinLoop, -jl, -join, -j = true joinTreeR | -joinIf, -ji, -join, -j = true unfoldLoopNumber | -loop<n>, -l<n> = 0 unfoldLoop_Empty () | -unfoldLoopEmpty, -ule, -ul1 = true unfoldLoop_Linear () | -unfoldLoopLinear, -ull, -ul2 = true unfoldLoop_NoBreak () | -unfoldLoopNoBreak, -ulnb, -ul = true defaultArrayElements | -[no]defaultArrayElements, -[no]dae = true multiplyZeroFP | -[no]multiplyZeroFP, -[no]mzfp = true changeAccessOrder | -[no]changeAccessOrder, -[no]cao = true --------------------------------------------------------------------*/ //-------------------------------------- 0 sec - field delete.CURRENT_STATE //-------------------------------------- 0 sec - postprocessing... public static final int CURRENT_STATE = 0; //-------------------------------------- 0 sec - field delete.CURRENT_SYMBOL //-------------------------------------- 0 sec - postprocessing... public static final int CURRENT_SYMBOL = 1; //-------------------------------------- 0 sec - field delete.NEXT_SYMBOL //-------------------------------------- 0 sec - postprocessing... public static final int NEXT_SYMBOL = 2; //-------------------------------------- 0 sec - field delete.NEXT_STATE //-------------------------------------- 0 sec - postprocessing... public static final int NEXT_STATE = 3; //-------------------------------------- 0 sec - field delete.MOVE //-------------------------------------- 0 sec - postprocessing... public static final int MOVE = 4; //-------------------------------------- 0 sec - field delete.instruction //-------------------------------------- 0 sec - postprocessing... public static final java.lang.String[][] instruction = new java.lang.String[][] {{"start", ".", ".", "b", "right"}, {"b", "1", "1", "b", "right"}, {"b", " ", " ", "c", "right"}, {"b", ".", ".", "stop", "right"}, {"c", " ", " ", "c", "right"}, {"c", "1", " ", "d", "left"}, {"c", ".", " ", "g", "left"}, {"d", " ", " ", "d", "left"}, {"d", "1", "1", "f", "right"}, {"d", ".", ".", "f", "right"}, {"f", " ", "1", "c", "right"}, {"g", " ", " ", "g", "left"}, {"g", "1", "1", "h", "right"}, {"g", ".", ".", "h", "right"}, {"h", " ", ".", "stop", "left"}}; //-------------------------------------- 0 sec - method delete.test() //-------------------------------------- 0 sec - postprocessing... public static void test () { delete.state = "start"; while (delete.state != "stop") { if (delete.state == "start" && delete.tape[delete.head] == ".") { delete.state = "b"; delete.tape[delete.head] = "."; delete.head++;} if (delete.state == "b" && delete.tape[delete.head] == "1") { delete.state = "b"; delete.tape[delete.head] = "1"; delete.head++;} if (delete.state == "b" && delete.tape[delete.head] == " ") { delete.state = "c"; delete.tape[delete.head] = " "; delete.head++;} if (delete.state == "b" && delete.tape[delete.head] == ".") { delete.state = "stop"; delete.tape[delete.head] = "."; delete.head++;} if (delete.state == "c" && delete.tape[delete.head] == " ") { delete.state = "c"; delete.tape[delete.head] = " "; delete.head++;} if (delete.state == "c" && delete.tape[delete.head] == "1") { delete.state = "d"; delete.tape[delete.head] = " "; delete.head--;} if (delete.state == "c" && delete.tape[delete.head] == ".") { delete.state = "g"; delete.tape[delete.head] = " "; delete.head--;} if (delete.state == "d" && delete.tape[delete.head] == " ") { delete.state = "d"; delete.tape[delete.head] = " "; delete.head--;} if (delete.state == "d" && delete.tape[delete.head] == "1") { delete.state = "f"; delete.tape[delete.head] = "1"; delete.head++;} if (delete.state == "d" && delete.tape[delete.head] == ".") { delete.state = "f"; delete.tape[delete.head] = "."; delete.head++;} if (delete.state == "f" && delete.tape[delete.head] == " ") { delete.state = "c"; delete.tape[delete.head] = "1"; delete.head++;} if (delete.state == "g" && delete.tape[delete.head] == " ") { delete.state = "g"; delete.tape[delete.head] = " "; delete.head--;} if (delete.state == "g" && delete.tape[delete.head] == "1") { delete.state = "h"; delete.tape[delete.head] = "1"; delete.head++;} if (delete.state == "g" && delete.tape[delete.head] == ".") { delete.state = "h"; delete.tape[delete.head] = "."; delete.head++;} if (delete.state == "h" && delete.tape[delete.head] == " ") { delete.state = "stop"; delete.tape[delete.head] = "."; delete.head--;} continue;} /*while*/ return; } //-------------------------------------- 1 sec - JScp version 0.0.75