ldc

LLVM-based D programming language compiler for fast, efficient code

brewmacoslinux
Try with needOr install directly
Source

About

Portable D programming language compiler

Commands

ldc2ldmd2

Examples

Compile a D source file to an executable$ ldc2 hello.d -o hello
Compile with optimizations enabled$ ldc2 -O3 program.d -o program
Use DMD-compatible syntax to compile multiple files$ ldmd2 -c module1.d module2.d