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 Fab.CURRENT_STATE //-------------------------------------- 0 sec - postprocessing... public static final int CURRENT_STATE = 0; //-------------------------------------- 0 sec - field Fab.CURRENT_SYMBOL //-------------------------------------- 0 sec - postprocessing... public static final int CURRENT_SYMBOL = 1; //-------------------------------------- 0 sec - field Fab.NEXT_SYMBOL //-------------------------------------- 0 sec - postprocessing... public static final int NEXT_SYMBOL = 2; //-------------------------------------- 0 sec - field Fab.NEXT_STATE //-------------------------------------- 0 sec - postprocessing... public static final int NEXT_STATE = 3; //-------------------------------------- 0 sec - field Fab.MOVE //-------------------------------------- 0 sec - postprocessing... public static final int MOVE = 4; //-------------------------------------- 0 sec - field Fab.instruction //-------------------------------------- 0 sec - postprocessing... public static final java.lang.String[][] instruction = new java.lang.String[][] {{"start", "a", "b", "start", "right"}, {"start", " ", " ", "stop", "left"}}; //-------------------------------------- 0 sec - method Fab.test() //-------------------------------------- 0 sec - postprocessing... public static void test () { Fab.state = "start"; while (Fab.state != "stop") { if (Fab.state == "start" && Fab.tape[Fab.head] == "a") { Fab.state = "start"; Fab.tape[Fab.head] = "b"; Fab.head++;} if (Fab.state == "start" && Fab.tape[Fab.head] == " ") { Fab.state = "stop"; Fab.tape[Fab.head] = " "; Fab.head--;} continue;} /*while*/ return; } //-------------------------------------- 0 sec - JScp version 0.0.75