Skip to content
Sections
>> Trisquel >> 软件包 >> nabia >> devel >> dustmite
etiona  ] [  nabia  ] [  nabia-updates  ] [  aramo  ]
[ 源代码: dustmite  ]

软件包: dustmite (0~20170126.e95dff8-3build3)

Tool for minimizing D source code

DustMite is a tool for minimizing D source code. It was inspired by Tigris Delta and a thread on digitalmars.D.learn. Reducing C++ code also works quite well via --split *.{c,cpp,h,hpp}:d.

DustMite will parse the source code into a simple hierarchy, and attempt to shrink it by deleting fragments iteratively, as long as the result satisfies a user-specified condition.

Its use-cases include:

 * Reducing compiler bug test cases.
 * Finding the source of ambiguous or misleading compiler error messages
   (e.g. errors with the file/line information pointing inside Phobos)
 * Alternative unit test code coverage (DustMite can remove all code that
   does not affect the execution of your unit tests).
 * Similarly, if you have complete test coverage, it can be used for
   reducing the source tree to a minimal tree which includes support for
   only enabled unittests.
   This can be used to create a version of a program or library with a
   test-defined subset of features.
 * The --obfuscate option can obfuscate your code's identifiers.

其他与 dustmite 有关的软件包

  • 依赖
  • 推荐
  • 建议
  • dep: libc6 (>= 2.14) [amd64]
    GNU C Library: Shared libraries
    同时作为一个虚包由这些包填实: libc6-udeb
    dep: libc6 (>= 2.4) [armhf]
  • dep: libgcc-s1 (>= 3.0) [amd64]
    GCC support library
    dep: libgcc-s1 (>= 3.5) [armhf]
  • dep: libgphobos1 (>= 10-20200324-1ubuntu1) [armhf]
    Phobos D standard library (runtime library)
    dep: libgphobos1 (>= 9.2) [amd64]

下载 dustmite

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
amd64 255.2 kB1185 kB [文件列表]
armhf 239.5 kB912 kB [文件列表]