adopt

2024-10-12

Simple, flexible, UNIX-style option parsing.

Upstream URL

hg.stevelosh.com/adopt

Author

Steve Losh <[email protected]>

License

MIT
README

Adopt

I needed a damn option parsing library.

Adopt is a simple UNIX-style option parser in Common Lisp, heavily influenced by Python's optparse and argparse.

Adopt aims to be a simple, robust option parser. It can automatically print help information and even generate man pages for you.

Adopt can be installed with Quicklisp: (ql:quickload :adopt).

The adopt system contains the core API and depends on Bobbin and split-sequence.

The adopt/test system contains the test suite, which depends on some other systems. You don't need to load this unless you want to run the unit tests. The tests pass on SBCL, CCL, ECL, and ABCL on Ubuntu 18.04. Further testing is welcome.

Dependencies (3)

  • 1am
  • bobbin
  • split-sequence

Dependents (1)

  • GitHub
  • Quicklisp