全部搜尋項
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ 原始碼: docopt.cpp  ]

套件:libdocopt0(0.6.2-2.3)

libdocopt0 的相關連結

Screenshot

Debian 的資源:

下載原始碼套件 docopt.cpp

維護小組:

外部的資源:

相似套件:

C++11 port of docopt

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 shared libraries.

其他與 libdocopt0 有關的套件

  • 依賴
  • 推薦
  • 建議
  • 增強

下載 libdocopt0

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
amd64 94。8 kB331。0 kB [檔案列表]
arm64 86。7 kB302。0 kB [檔案列表]
armel 80。5 kB273。0 kB [檔案列表]
armhf 81。9 kB217。0 kB [檔案列表]
i386 102。2 kB325。0 kB [檔案列表]
mips64el 87。2 kB354。0 kB [檔案列表]
mipsel 87。8 kB338。0 kB [檔案列表]
ppc64el 101。8 kB402。0 kB [檔案列表]
s390x 87。5 kB338。0 kB [檔案列表]