1
0
Fork
You've already forked tools-fork
0
Ancillary tools for the D programming language compiler http://dlang.org
  • D 97.5%
  • Shell 1.4%
  • Makefile 1.1%
Find a file
2026年01月10日 00:16:29 +08:00
.github CI: bump setup-dlang to v2 2025年07月06日 21:07:06 +08:00
DustMite Backport std.math fix from upstream DustMite 2022年07月06日 19:46:23 +00:00
man/man1 Add support for environment variable RDMD_DMD into rdmd 2022年02月09日 10:42:29 +13:00
test Convert bugzilla issue reference to hyperlink 2023年07月05日 01:03:38 +02:00
.editorconfig Add a .editorconfig (copied from Phobos) 2017年12月22日 08:15:14 +01:00
.gitignore Allow using the tools repo via DUB 2018年06月17日 14:28:13 +02:00
.mailmap Update .mailmap 2024年06月03日 00:59:36 +02:00
catdoc.d Fix whitespace 2015年10月18日 00:24:53 +00:00
changed.d Remove bugzilla from changelog generator and fix GitHub api change 2026年01月08日 16:31:15 +01:00
checkwhitespace.d checkwhitespace.d: Allow individual errors to be turned off. 2018年02月11日 10:36:41 +01:00
CODEOWNERS Add a CODEOWNERS file for tools 2018年02月09日 01:54:53 +01:00
contributors.d Remove references to the archived druntime repository 2022年10月10日 01:22:15 +02:00
ddemangle.d Make scripts executable + runnable 2017年07月03日 02:09:29 +02:00
detab.d Make scripts executable + runnable 2017年07月03日 02:09:29 +02:00
dget.d dget: Use explicit storage classes in delegate 2022年10月26日 14:01:20 +02:00
dman.d dman: Use d-tags.json instead of d.tag 2017年08月08日 15:43:28 +00:00
dub.sdl Bump libdparse version to 0.25.1 2026年01月10日 00:16:29 +08:00
get_dlibcurl32.bat Add script 'get_dlibcurl32', to auto-create Win32 libcurl import lib. 2013年08月17日 17:35:13 -04:00
get_dlibcurl32.d Make scripts executable + runnable 2017年07月03日 02:09:29 +02:00
Jenkinsfile add Jenkinsfile 2017年10月06日 16:33:21 +02:00
latest-tag update links to dlang 2016年04月16日 06:51:38 +03:00
LICENSE.txt Add LICENSE.txt file 2017年12月28日 15:45:20 +01:00
Makefile CI: Add GitHub Actions workflow 2023年12月17日 23:28:26 +01:00
posix.mak Restore posix.mak, forwarding to generic Makefile 2023年12月17日 04:51:56 +01:00
rdmd.d improve rdmd help message 2024年05月13日 08:56:31 +03:00
rdmd_test.d rdmd_test.d: Fix test failure 2025年07月06日 21:07:06 +08:00
README.md Merge Makefiles 2023年12月17日 04:50:15 +01:00
setup.sh Remove references to the archived druntime repository 2022年10月10日 01:22:15 +02:00
tests_extractor.d Bump libdparse version to 0.25.1 2026年01月10日 00:16:29 +08:00
tolf.d Have tolf add terminating newline 2019年11月09日 20:20:04 -07:00
updatecopyright.d Add updatecopyright script. 2018年12月17日 13:31:21 +01:00

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.