Help for this page

Select Code to Download


  1. or download this
        state->start
        input->remember-starting-position
        
    ...
                input->remember-starting-position
            }
        }
    
  2. or download this
        state->start
        while (config->has_more_input) {
            if (state->attempt_transition_for(config->current_input)) { # 
    +move
    ...
                state->start                  # restart
            }
        }
    
  3. or download this
        config->start
        while (config->has_more_input) {
            if (config->state->attempt_transition) {       # move + advanc
    +e
    ...
                push output_queue, config->token      # token
            }
        }