Page 281 Table of Contents Index Page 283
Chapters
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30
A, B, C, D, E



CHAPTER 27. COMMAND PROCESSING

=> *command-unparser* [Variable]
Contains the currently active command unparsing function. The default value is the function
command-line-command-unparser, which is the default command-line unparser.

=> *partial-command-parser* [Variable]
Contains the currently active partial command parsing function. The default value is the function
command-line-read-remaining-arguments-for-partial-command.

=> *unsupplied-argument-marker* [Variable]
The value of *unsupplied-argument-marker* is an object that can be uniquely identified as
standing for an unsupplied argument in a command object.

=> *numeric-argument-marker* [Variable]
The value of *numeric-argument-marker* is an object that can be uniquely identified as stand-
ing for a numeric argument in a command object.

=> *command-name-delimiters* [Variable]
This is a list of the characters that separate the command name from the command arguments
in a command line. The standard set of command name delimiters must include #\Space.

=> *command-argument-delimiters* [Variable]
This is a list of the characters that separate the command arguments from each other in a
command line. The standard set of command argument delimiters must include #\Space.

27.6.1 Command Presentation Types

=> command &key command-table [Presentation Type]
The presentation type used to represent a command and its arguments; the command must be
accessible in command-table and enabled in *application-frame*. command-table is a com-
mand table designator
. If command-table is not supplied, it defaults to the command table for
the current application frame, (frame-command-table *application-frame*).

The object returned by the accept presentation method for command must be a command object,
that is, a cons of the command name and the list of the command's arguments.

The accept presentation method for the command type must call the command parser stored
in *command-parser* to read the command. The parser will recursively call accept to read
a command-name and all of the command's arguments. The parsers themselves must be imple-
mented by accepting objects whose presentation type is command.

If the command parser returns a partial command, the accept presentation method for the
command type must call the partial command prser stored in *partial-command-parser*.


Page 281 Table of Contents Index Page 283
Chapters
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30
A, B, C, D, E