Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Interactive command interface system for Open Dylan
branch: master

Merge pull request #19 from rjmacready/tiny_fixes

using print-object so that we can have nicer error/help messages just by...
latest commit 8f11a11c21
Ingo Albrecht promovicz authored
Failed to load latest commit information.
command-interface using print-object so that we can have nicer error/help messages just…
examples/demo Adjusted demo to new names
registry/generic Remove dylan example as this is served better by deft.
tests Renamed libraries and modules command-system -> command-interface
tty
.gitignore Add .gitignore.
LICENSE
README.rst Some README fiddling

README.rst

Command Interface System

This is a system for building command-driven interfaces in Dylan.

It can currently be used to declaratively design terminal-based command interfaces, commonly called shells or CLIs.

We also strive to implement graphical command interfaces in a similar manner to Symbolics Genera, including support for full graphical and markup output.

Compiling

All dependencies are in Open Dylan itself.

Just build with:

$ dylan-compiler -build command-interface

There also is a demo:

$ dylan-compiler -build command-interface-demo
$ _build/bin/command-interface-demo

As well as some tests:

$ dylan-compiler -build command-interface-test
$ _build/bin/command-interface-test

Completion in bash

Our system integrates with bash completion. This allows one to implement a binary that can be used both as an interactive shell and from the system shell.

To enable this feature you need to load the shell snippet printed by the following command into your shell:

$ _build/bin/command-interface-demo bashcomplete

Once you do this you can complete and execute all commands that would be available inside the shell.

This feature is automatically available to library users.

Something went wrong with that request. Please try again.