套件:libdocopt-dev(0.6.3-4 以及其他的)
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 有關的套件
|
|
|
|
-
- dep: libdocopt0 (= 0.6.3-4) [alpha, hppa, ia64, m68k, ppc64, sh4, sparc64, x32]
- C++11 port of docopt
- dep: libdocopt0 (= 0.6.3-4+b1) [除 alpha, hppa, ia64, m68k, ppc64, sh4, sparc64, x32]
下載 libdocopt-dev
硬體架構 | 版本 | 套件大小 | 安裝後大小 | 檔案 |
---|---|---|---|---|
alpha (非官方移植版) | 0.6.3-4 | 18。0 kB | 81。0 kB | [檔案列表] |
amd64 | 0.6.3-4+b1 | 18。3 kB | 82。0 kB | [檔案列表] |
arm64 | 0.6.3-4+b1 | 18。3 kB | 82。0 kB | [檔案列表] |
armel | 0.6.3-4+b1 | 18。2 kB | 82。0 kB | [檔案列表] |
armhf | 0.6.3-4+b1 | 18。2 kB | 82。0 kB | [檔案列表] |
hppa (非官方移植版) | 0.6.3-4 | 18。0 kB | 81。0 kB | [檔案列表] |
i386 | 0.6.3-4+b1 | 18。2 kB | 82。0 kB | [檔案列表] |
ia64 (非官方移植版) | 0.6.3-4 | 18。0 kB | 81。0 kB | [檔案列表] |
m68k (非官方移植版) | 0.6.3-4 | 18。0 kB | 81。0 kB | [檔案列表] |
mips64el | 0.6.3-4+b1 | 18。3 kB | 82。0 kB | [檔案列表] |
ppc64 (非官方移植版) | 0.6.3-4 | 18。0 kB | 81。0 kB | [檔案列表] |
ppc64el | 0.6.3-4+b1 | 18。2 kB | 82。0 kB | [檔案列表] |
riscv64 | 0.6.3-4+b1 | 18。2 kB | 82。0 kB | [檔案列表] |
s390x | 0.6.3-4+b1 | 18。3 kB | 82。0 kB | [檔案列表] |
sh4 (非官方移植版) | 0.6.3-4 | 18。0 kB | 81。0 kB | [檔案列表] |
sparc64 (非官方移植版) | 0.6.3-4 | 18。0 kB | 81。0 kB | [檔案列表] |
x32 (非官方移植版) | 0.6.3-4 | 18。0 kB | 81。0 kB | [檔案列表] |