Skip to content

dlang/tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

628abac · Jun 2, 2024
Dec 17, 2023
Jul 6, 2022
Feb 8, 2022
Jul 4, 2023
Dec 22, 2017
Jun 17, 2018
Jun 2, 2024
Feb 9, 2018
Oct 6, 2017
Dec 28, 2017
Dec 17, 2023
Dec 17, 2023
Oct 18, 2015
Jun 24, 2023
Feb 11, 2018
Oct 9, 2022
Jul 3, 2017
Jul 3, 2017
Oct 26, 2022
Aug 8, 2017
Apr 22, 2023
Aug 17, 2013
Jul 3, 2017
Apr 16, 2016
Dec 17, 2023
May 1, 2023
Dec 17, 2023
Oct 9, 2022
Apr 27, 2024
Nov 10, 2019
Dec 17, 2018

Repository files navigation

D tools

GitHub tag Bugzilla Issues Buildkite license

This repository hosts various tools redistributed with DMD or used internally during various build tasks.

Program Scope Description
catdoc Build Concatenates Ddoc files.
changed Internal Change log generator.
chmodzip Build ZIP file attributes editor.
ddemangle Public D symbol demangler.
detab Internal Replaces tabs with spaces.
dget Internal D source code downloader.
dman Public D documentation lookup tool.
dustmite Public Test case minimization tool.
get_dlibcurl32 Internal Win32 libcurl downloader/converter.
rdmd Public D build tool.
rdmd_test Internal rdmd test suite.
tests_extractor Internal Extracts public unittests (requires DUB)
tolf Internal Line endings converter.
updatecopyright Internal Update the copyright notices in DMD

To report a problem or browse the list of open bugs, please visit the bug tracker.

For a list and descriptions of D development tools, please visit the D wiki.

Building

On a Posix system all tools can be built with:

make all

Using DUB as a build tool

Most tools can also be built with DUB:

dub build :ddemangle

Running DUB tools

Some tools require D's package manager DUB. By default, DUB builds a binary and executes it. On a Posix system, the source files can directly be executed with DUB (e.g. ./tests_extractor.d). Alternatively, the full single file execution command can be used:

dub --single tests_extractor.d

Remember that when programs are run via DUB, you need to pass in -- before the program's arguments, e.g dub --single tests_extractor.d -- -i ../phobos/std/algorithm.

For more information, please see DUB's documentation.