sarge  ] [  etch  ] [  etch-m68k  ] [  lenny  ] [  sid  ]
[ Source: clig  ]

Package: clig (1.9.11.1-3)

Command Line Interpreter Generator

Based on a simple specification file clig generates C-code for a function

     Cmdline *parseCmdline(int argc, char **argv)

which parses the command-line of a typical C-program and returns the result in a structure of type Cmdline. Besides parseCmdline(), the function

     void usage(void)

is generated and will be called by the command-line parser if the command line contains obvious errors. One of the main reasons to use clig is the automatic generation of a usage()-function which is always up-to- date with respect to the options actually understood by the program. Additionally, clig creates a manual page.

 Homepage: http://wsd.iitb.fhg.de/~geg/clighome/

Tags: Software Development: Code Generation, Literate Programming, C Development, User Interface: Command Line, Role: Program, Scope: Utility, Works with: Source Code

Other Packages Related to clig

  • depends
  • recommends
  • suggests
  • dep: tcl8.4
    Tcl (the Tool Command Language) v8.4 - run-time files
  • dep: tk8.4
    Tk toolkit for Tcl and X11, v8.4 - run-time files

Download clig

Download for all available architectures
Architecture Package Size Installed Size Files
all 71.7 kB460 kB [list of files]