Skip to content

About FLAP

FLAP (Fortran command Line Arguments Parser for poor people) is a pure Fortran 2003+ library for building powerful, user-friendly Command Line Interfaces (CLIs). It is inspired by Python's argparse module and follows the same philosophy: define your arguments once, and FLAP handles parsing, help generation, error reporting, and more.

Fortran programs often need rich command-line interfaces — optional switches, required parameters, boolean flags, positional arguments, mutually exclusive groups, and nested subcommands. FLAP provides all of this with a clean, consistent API and zero external dependencies beyond the Fortran standard library.

Authors

Contributions are welcome — see the Contributing page.

Copyrights

FLAP is distributed under a multi-licensing system:

Use caseLicense
FOSS projectsGPL v3
Closed source / commercialBSD 2-Clause
Closed source / commercialBSD 3-Clause
Closed source / commercialMIT