J
Judson Lester
Note: parts of this message were removed by the gateway to make it a legal Usenet post.
Hello,
I'm very glad to announce the initial release of CommandSet -
http://commandset.rubyforge.org
CommandSet is a user interface library for Ruby. It revolves around a
(reasonably well documented) DSL for defining a set of commands. Once
commands are defined, you hook them into your application, and pass the set
into one of a number of interpreters. The components of the library are all
designed for clean extension, allowing you to produce specialized commands,
arguments (with their own input validation and completion rules) or
interpreters.
Features:
- The main interpreter provides context sensitive tab completion (in Linux
and probably OS X), a clean event loop, a easy-to-use undo features. It can
either be used interactively, or it can take arguments from the command
line, process a single command and return
- Arguments provide completion hinting, as well and performing input
validation. Several useful argument types are included, including number
ranges and file arguments.
- Clean DSL for command definition, encapsulated and documented.
- A standard command list, including favorites like 'quit', 'set', 'undo'
and 'help'
Thanks for your attention,
Judson
Hello,
I'm very glad to announce the initial release of CommandSet -
http://commandset.rubyforge.org
CommandSet is a user interface library for Ruby. It revolves around a
(reasonably well documented) DSL for defining a set of commands. Once
commands are defined, you hook them into your application, and pass the set
into one of a number of interpreters. The components of the library are all
designed for clean extension, allowing you to produce specialized commands,
arguments (with their own input validation and completion rules) or
interpreters.
Features:
- The main interpreter provides context sensitive tab completion (in Linux
and probably OS X), a clean event loop, a easy-to-use undo features. It can
either be used interactively, or it can take arguments from the command
line, process a single command and return
- Arguments provide completion hinting, as well and performing input
validation. Several useful argument types are included, including number
ranges and file arguments.
- Clean DSL for command definition, encapsulated and documented.
- A standard command list, including favorites like 'quit', 'set', 'undo'
and 'help'
Thanks for your attention,
Judson