Skip to content
Sections
>> Trisquel >> Packages >> aramo >> devel >> dustmite
etiona  ] [  nabia  ] [  nabia-updates  ] [  aramo  ]
[ Source: dustmite  ]

Package: dustmite (0~20170126.e95dff8-3build5)

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.

Other Packages Related to dustmite

  • depends
  • recommends
  • suggests
  • dep: libc6 (>= 2.34)
    GNU C Library: Shared libraries
    also a virtual package provided by libc6-udeb
  • dep: libgcc-s1 (>= 3.0) [not armhf]
    GCC support library
    dep: libgcc-s1 (>= 3.5) [armhf]
  • dep: libgphobos2 (>= 11) [amd64]
    Phobos D standard library (runtime library)
    dep: libgphobos2 (>= 11.2.0-5ubuntu1) [not amd64]

Download dustmite

Download for all available architectures
Architecture Package Size Installed Size Files
amd64 242.3 kB930 kB [list of files]
arm64 234.2 kB897 kB [list of files]
armhf 230.9 kB676 kB [list of files]