dmd D Programming Language compiler
Find a file
Iain Buclaw 126064282f core.builtins: Fix return value of likely/unlikely
For both GCC and LLVM, `__builtin_expect` and `llvm_expect` respectively
return an integer, not a boolean. This triggers a compiler error as
implicit narrow conversions are not allowed.
2025-01-11 07:48:33 +08:00
.azure-pipelines Get rid of obsolete DMC special cases 2024-05-25 19:34:44 +02:00
.circleci CI: Adapt to generic Makefile for Phobos 2023-12-18 17:10:31 +08:00
.github/workflows Merge remote-tracking branch 'origin/stable' into merge_stable 2024-11-16 16:09:17 +01:00
changelog Revert "Enable -preview=fieldwise by default" 2025-01-09 13:38:03 -05:00
ci Merge remote-tracking branch 'upstream/stable' into merge_stable 2025-01-09 15:03:15 +00:00
compiler Prepare import paths mechanism for metadata 2025-01-11 07:48:13 +08:00
druntime core.builtins: Fix return value of likely/unlikely 2025-01-11 07:48:33 +08:00
src Convert posix.mak to generic Makefile 2023-12-09 15:59:14 +01:00
.cirrus.yml Cirrus CI: Allow single remaining FreeBSD coverage job to fail (might be out of credits) 2023-10-29 02:40:10 +01:00
.codecov.yml
.editorconfig
.git-blame-ignore-revs Use Array.length instead of Array.dim (#14613) 2022-11-03 21:42:36 -07:00
.gitattributes Fix build script paths to work with new merged repository structure 2022-07-09 23:49:27 +02:00
.gitignore add __rvalue(expression) builtin (#17050) 2024-12-15 12:13:28 -08:00
.pre-commit-config.yaml Add Valgrind GC integration (#15304) 2023-06-15 01:01:42 -07:00
azure-pipelines.yml Kill off OMF support 2024-05-03 18:24:36 +12:00
CODEOWNERS
config.d dub build: Fix cross-compilation 2024-07-28 09:01:09 +08:00
CONTRIBUTING.md Update the contributor guide, remove bugzilla references (#20591) 2024-12-23 20:18:16 +08:00
dub.sdl Fix dub recipe for the lexer subpackage 2024-10-26 18:17:47 +02:00
LICENSE.txt
Makefile Makefiles: Add comments wrt. usage on Windows and a few example invocations 2023-12-18 07:29:32 +08:00
posix.mak Restore posix.mak, forwarding to generic Makefile 2023-12-09 15:59:14 +01:00
README.md Remove some more bugzilla links 2025-01-09 00:36:58 +01:00
VERSION bump VERSION to v2.110.0-rc.1 2025-01-08 15:08:09 +00:00

dlang logo

DMD

GitHub tag Code coverage license

Build status CircleCI Build Status Buildkite


DMD is the reference compiler for the D programming language.

Releases, language specification and other resources can be found on the homepage. Please refer to the guidelines for bug reports to report a problem or browse the list of open bugs.

Overview

This repository is structured into the following directories. Refer to their respective README.md for more in-depth information.

Directory Description
changelog changelog entries for the upcoming release
ci CI related scripts / utilities
compiler root of all compiler (DMD/frontend) related code
compiler/src source code, build system and build instructions
compiler/test tests and testing infrastructure
compiler/docs man pages and internal documentation
compiler/ini predefined dmd.conf files
compiler/samples Various code examples
druntime root of all runtime related code

With a D compiler and dub installed, dmd can be built with:

dub build dmd:compiler

For more information regarding compiling, installing, and hacking on DMD, check the contribution guide and visit the D Wiki.

Nightlies

Nightly builds based of the current DMD / Phobos master branch can be found here.