Reflection-based processing of input parameters for commands
Abstract
The present invention is directed at a reflection-based shell that provides reflection-based processing of input parameters for a command. The reflection-based processing includes parsing, data generation, data validation, object encoding, object processing, documentation, and the like. The reflection-based shell provides a mechanism for specifying a grammar for the input parameters using a class. The method includes receiving a parsable stream that includes a command and at least one parameter. Retrieving definitional information that describes an expected parameter for the command. Using the definitional information to create an object for storing the at least one parameter in a format in accordance with the description of the expected parameters. Passing the object to the command. The object not having a method invocable by the command.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 12 · Forward citations: 3.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-readable storage media having computer executable instructions, the instructions, when executed, performing a method comprising: receiving a parsable stream, in a reflection based shell, that includes an identifier associated with a command; retrieving definitional information, from a registry, based on the identifier, wherein the definitional information describes an expected parameter for the command, the command as a registered command, and a class of the identifier; reading metadata associated with the class of the identifier, wherein the metadata includes one or more directives
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (3 of 3 total)
References Cited — Backward Prior Art (12)
Non-Patent Literature (5)
- "CLIM: 27 Command Processing", retrieved on Feb. 13, 2007, at >, pp. 1-11.
- "Generic Command Line Parser", IBM Corporation, vol. 37, No. 05, 1994, pp. 55-58.
- "Internet Archive Wayback Marchine", retreived on Feb. 13, 2007, at >, pp. 1.
- "Validation of Parameter Subsets in Commands", IBM Corporation, vol. 37, No. 06B, 1994, pp. 585-587.
- Conway, "Declarative Command-line Interfaces", pp. 13, Aug. 1998.