The LLVM-based D Compiler.
Find a file
David Nadlinger 06ad20a920 Merge pull request #1272 from redstar/issue1112
Do not construct Ir-Types twice for the same type.
2016-02-02 01:08:12 +01:00
bash_completion.d Use bash completion dir from config if available 2015-02-19 17:49:22 +02:00
cmake/Modules cmake: Remove old dependencies from FindLLVM and ... 2016-01-30 00:53:36 +01:00
dmd2 netbsd changes 2016-01-18 18:33:46 +00:00
driver Add more support for xBSD type OS. 2016-01-22 22:10:33 +01:00
gen DtoCast: Implement struct repainting casts 2016-01-31 00:57:34 +01:00
ir Do not construct Ir-Types twice for the same type. 2016-02-01 21:52:15 +01:00
runtime AArch64: AddFiber support and fix GC scanning 2016-01-30 11:40:03 +01:00
tests Implement the @ldc.attributes.target UDA. 2016-01-04 02:04:25 +01:00
utils Add LLVM trunk's version of FileCheck to the utils directory to fix Travis IR testing for LLVM 3.8 2015-12-18 16:48:32 +01:00
vcbuild Windows: make sure the linker batch files return the linker's exit code 2015-10-18 00:42:21 +02:00
.clang-format driver/gen/ir: clang-format the world 2015-11-02 00:28:01 +02:00
.clang-tidy clang-tidy: Add readability-else-after-return 2015-11-02 11:30:40 +02:00
.gitattributes set proper attributes for Windows 2014-07-01 20:02:51 +02:00
.gitmodules Imported D2 testsuite (v2.060) as submodule. 2012-09-07 03:51:31 +02:00
.travis.yml Travis: Release build on OS X is now a required build. 2016-01-30 12:11:39 +01:00
appveyor.yml AppVeyor: Update ninja download URL 2016-01-05 13:33:53 +01:00
CMakeCPack.cmake Add CPack configuration for debian packages 2014-02-12 15:16:43 +01:00
CMakeLists.txt cmake: Remove old dependencies from FindLLVM and ... 2016-01-30 00:53:36 +01:00
Doxyfile Inlined sources in Doxygen docs (for tablet use) and increased DOT max. nodes to 1,000. 2015-02-20 14:57:44 +01:00
ldc2.conf.in Simplify and fix install target 2015-09-26 15:24:36 +02:00
ldc2_install.conf.in Dynamically load libcurl when needed (backport from post-2.068 upstream) 2015-08-29 14:56:43 +02:00
ldc2_phobos.conf.in Simplify and fix install target 2015-09-26 15:24:36 +02:00
LICENSE Merged all licenses into LICENSE for release packaging; updated LDC copyright year. 2012-12-16 17:19:14 +01:00
README.md README: Mention binary packages in install section 2015-12-13 13:57:06 +01:00

LDC the LLVM-based D Compiler

Build Status Test Coverage Bountysource

The LDC project aims to provide a portable D programming language compiler with modern optimization and code generation capabilities.

The compiler uses the official DMD frontends to support the latest version of D2, and relies on the LLVM Core libraries for code generation.

LDC is fully Open Source; the parts of the code not taken/adapted from other projects are BSD-licensed (see the LICENSE file for details).

Please consult the D wiki for further information: http://wiki.dlang.org/LDC

D1 is no longer available; see the 'd1' Git branch for the last version supporting it.

Installation

In-depth material on building and installing LDC and the standard libraries, including experimental instructions for running LDC on Windows, is available on the project wiki at http://wiki.dlang.org/Building_LDC_from_source.

If you have a working C++ build environment, CMake, a current LLVM, and libconfig available there should be no big surprises, though.

Do not forget to make sure all the submodules are up to date:

$ cd ldc
$ git submodule update --init

Some Linux and OS X package managers include recent versions of LDC, so manually installing it might not be necessary. For several platforms, there are also stand-alone binary builds available at the GitHub release page.

Contact

The best way to get in touch with the developers is either via the digitalmars.D.ldc forum/newsgroup/mailing list (http://forum.dlang.org) or the #ldc IRC channel on FreeNode.

For further documentation, contributor information, etc. please see the D wiki: http://wiki.dlang.org/LDC

Feedback of any kind is very much appreciated!