-
Notifications
You must be signed in to change notification settings - Fork 0
Command line interface demo.
License
kmx-io/cli
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
CLI is a general purpose command line interface library. CLI allows programmers to define access from command line to arbitrary functions. Users can then call the functions from command line without having to modify the program itself. Variadic functions are supported by giving a negative arity. CLI is implemented in C using GNU readline. CLI uses readline only if input is from a tty, otherwise stdio is used and no prompt is issued. The library comes along with CLIdemo which is a pretty good example of how to use CLI from C. TODO ==== - Completion. Tab completion of commands is not yet supported. - Typed patterns. Instead of just prefix command names, also allow for command typed patterns to denote function application. For instance "(int) + (int)" denotes infix integer addition. See http://dot-do-lang.kmx.io/typa for more information about typed patterns.
About
Command line interface demo.
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published