パッケージ: libdocopt-dev (0.6.2-2.1)
libdocopt-dev に関するリンク
Debian の資源:
docopt.cpp ソースパッケージをダウンロード:
メンテナ:
外部の資源:
- ホームページ [github.com]
類似のパッケージ:
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.
libdocopt-dev のダウンロード
アーキテクチャ | パッケージサイズ | インストールサイズ | ファイル |
---|---|---|---|
amd64 | 107.2 kB | 659.0 kB | [ファイル一覧] |
arm64 | 104.6 kB | 665.0 kB | [ファイル一覧] |
armel | 107.0 kB | 647.0 kB | [ファイル一覧] |
armhf | 108.3 kB | 592.0 kB | [ファイル一覧] |
i386 | 114.4 kB | 558.0 kB | [ファイル一覧] |
mips64el | 116.0 kB | 806.0 kB | [ファイル一覧] |
mipsel | 114.0 kB | 610.0 kB | [ファイル一覧] |
ppc64el | 117.3 kB | 745.0 kB | [ファイル一覧] |
s390x | 101.6 kB | 696.0 kB | [ファイル一覧] |