Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page.
Requires a signed-in GitHub account. This works well for small changes.
If you'd like to make larger changes you may want to consider using
local clone.
Table of Contents
This is the specification for the D Programming Language. For more information see dlang.org.
This is also available as a PDF document, a Mobi ebook or as a Kindle ebook.
- Introduction
- Lexical
- Grammar
- Modules
- Declarations
- Types
- Properties
- Attributes
- Pragmas
- Expressions
- Statements
- Arrays
- Associative Arrays
- Structs and Unions
- Classes
- Interfaces
- Enums
- Const and Immutable
- Functions
- Operator Overloading
- Templates
- Template Mixins
- Contract Programming
- Conditional Compilation
- Traits
- Error Handling
- Unit Tests
- Garbage Collection
- Floating Point
- D x86 Inline Assembler
- Embedded Documentation
- Interfacing to C
- Interfacing to C++
- Interfacing to Objective-C
- Portability Guide
- Named Character Entities
- Memory Safety
- Application Binary Interface
- Vector Extensions