kaptainshell1
Is a universal graphical front-end based on context-free grammars; it reads a file containing grammatical rules for generating text, builds a dialog from the grammar and generates the text according to the user's settings. kaptainshell - is a simple kaptain grammar script which shows up the grammars located in /usr/share/kaptain and the user can choose from that list.
Part of kaptain(1).
Usage
kaptain [options]
file
Overview
This manual page documents briefly the kaptain commands and kaptainshell script. This manual page was written for the Debian GNU/Linux distribution because the original program does not have a manual page. Instead, it has documentation in the HTML format; see /usr/share/doc/kaptain/html/index.html for more information.
Options
A summary of kaptain options is included below. For a complete description, see the HTML files.
-
-t, --test -
The program won't execute the generated command, just write it to the standard output. It useful for test purposes for grammar writers.
-
-v, --verbose -
It makes
kaptainprint out every rule it reads. You can check where the parser failed, if the grammar contains errors.