套件:libdocopt-dev(0.6.2-2.3)
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 | 111。8 kB | 680。0 kB | [檔案列表] |
arm64 | 108。2 kB | 689。0 kB | [檔案列表] |
armel | 111。5 kB | 670。0 kB | [檔案列表] |
armhf | 113。0 kB | 614。0 kB | [檔案列表] |
i386 | 118。9 kB | 579。0 kB | [檔案列表] |
mips64el | 120。1 kB | 828。0 kB | [檔案列表] |
mipsel | 118。6 kB | 632。0 kB | [檔案列表] |
ppc64el | 121。5 kB | 766。0 kB | [檔案列表] |
s390x | 105。7 kB | 703。0 kB | [檔案列表] |