Interactive Parsing

version 3 by Jon Ingold

  • Home page
  • Beginning
  • Previous
  • Next



  • Section - Setting up Command Line System

    When play begins:
        initialise command line system;

    To initialise command line system:
    (- InitialiseCommandLineSystem();
    -).

    Include (-

    [ InitialiseCommandLineSystem
        i
        ;
        for (i = 0 : i <= COMMAND_RECALL_DEPTH : i++) command_line_pointers-->i = 0;
    ];


    [ InitialiseCommandRecall ;
        current_command_line = 0;
    ];

    -).