Skip to content
Sections
>> Trisquel >> Paquets >> nabia >> libdevel >> libdocopt-dev
etiona  ] [  nabia  ] [  aramo  ]
[ Paquet source : docopt.cpp  ]

Paquet : libdocopt-dev (0.6.2-2build1)

development files for docopt.cpp

With docopt, the option parser is generated based on the program's docstring. docopt parses the usage pattern ("Usage: ...") and option descriptions (lines starting with dash "-") and ensures that the program invocation matches the usage pattern. It parses options, arguments and commands based on that. The basic idea is that a good help message has all necessary information in it to make a parser.

This is a port of the docopt Python module to C++ with a focus on maintaining full feature parity (and code structure) as the original. The differences from the Python port are:

  - The addition of a docopt_parse function, which does not terminate the
    program on error a docopt::value type to hold the various value types that
    can be parsed.

  - Because C++ is statically-typed and Python is not, some changes were made
    to the interfaces of the internal parse tree types.

  - Because std::regex does not have an equivalent to Python's regex.split,
    some of the regex's had to be restructured and additional loops used.

This package provides the development files.

Autres paquets associés à libdocopt-dev

  • dépendances
  • recommandations
  • suggestions
  • dep: libdocopt0 (= 0.6.2-2build1)
    C++11 port of docopt

Télécharger libdocopt-dev

Télécharger pour toutes les architectures proposées
Architecture Taille du paquet Espace occupé une fois installé Fichiers
amd64 107,2 ko688 ko [liste des fichiers]
armhf 110,1 ko614 ko [liste des fichiers]