Skip to content
Sections
>> Trisquel >> 软件包 >> etiona >> libs >> libdocopt0
etiona  ] [  nabia  ] [  aramo  ]
[ 源代码: docopt.cpp  ]

软件包: libdocopt0 (0.6.2-2)

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 有关的软件包

  • 依赖
  • 推荐
  • 建议
  • dep: libc6 (>= 2.14) [amd64]
    GNU C Library: Shared libraries
    同时作为一个虚包由这些包填实: libc6-udeb
    dep: libc6 (>= 2.4) [i386]
  • dep: libgcc1 (>= 1:3.0)
    GCC support library
  • dep: libstdc++6 (>= 5.2)
    GNU Standard C++ Library v3

下载 libdocopt0

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
amd64 89.7 kB311 kB [文件列表]
i386 97.1 kB305 kB [文件列表]