EP0503944A2

Command generator for a data processing system.

Abstract

A system for interactively building and executing a computer system command. The system provides an ability to create a displayable file from a textural description of the syntax of a command. The display uses graphic representation of the metasyntax of the particular command language. Graphic representation identifies all possible paths through the syntax to create a syntactically valid command. The system provides user interaction capability to select the required keyword options and to enter variable data resulting in the construction of a syntactically valid command. The invention allows the specification of arbitrarily complex syntax including unlimited nesting of repeating command groups. The use of a node structure allows the provision of field sensitive help directed to those nodes.

EP0503944A2, drawing sheet 1
Sheet 1 of 8

Term

Term ended

Projected expiry passed 12 March 2012, 14.5 years ago.

  1. Priority
  2. Filed
  3. Published
  4. Projected expiry
  5. Today

7 claims: 2 independent, 5 dependent

  1. 1
    A command generator for a data processing system comprising:storage means for storing command syntax information, said command syntax information including linked decision blocks each having one or more keywords or variables, said linked decision blocks forming a syntax expression;display generator means for transforming said command syntax information into a displayable form of said command for display on an interactive display device, said displayable form depicting the linked decision blocks of said command as a plurality of keywords and variables;user interaction means for selecting actions and entering variable information;and diagram traversing means for defining a path by recursively traversing said linked decision blocks, said traversal requiring selection of keywords and entry of variables to complete a syntactically correct command.
  2. 3
    A method for generating commands for a data processing system having a system processor, a display device, storage means, and user interaction means, said method comprising the steps of:storing a plurality of command syntax expressions in said storage means;initializing a command construction area;transforming said command syntax expressions into a syntax table having a plurality of syntax nodes each containing a node identifier, a node-type, a next node pointer, and zero, one or more children node identifiers;generating a displayable syntax diagram from said syntax table, said syntax diagram having a plurality of paths representing syntactically valid commands, said plurality of paths each having a plurality of defined fields, corresponding to said syntax nodes;displaying said syntax diagram on said display device;accepting an input from said user interaction means, said input indicating a desired action and a display position;andtesting said desired action:if said action is a path selection, determining the path associated with said display position, redis- playing said syntax diagram with said path highlighted, appending syntax node type information to said command construction area;orif said action is variable data entry, verifying that said display position corresponds to a field in a selected path, and, if so, accepting said input as variable data associated with said field, and appending said variable data to said command construction area.