Coder Social home page Coder Social logo

praveenmunagapati / ldc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ldc-developers/ldc

0.0 1.0 0.0 25.4 MB

The LLVM-based D compiler.

Home Page: http://wiki.dlang.org/LDC

License: Other

CMake 1.41% Shell 0.14% D 59.32% C++ 32.12% C 5.78% Makefile 1.14% DTrace 0.06% Python 0.01% Batchfile 0.03%

ldc's Introduction

LDC โ€“ the LLVM-based D Compiler

Build Status 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

From a pre-built package

Linux and OS X

Some 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.

Command
Arch Linux pacman -S ldc
Debian apt-get install ldc
Fedora yum install ldc
Gentoo layman -a ldc
Homebrew brew install ldc
Ubuntu apt-get install ldc
Windows

The latest official releases can be downloaded from the GitHub release page.

For bleeding-edge users, we also provide the latest successful continuous integration builds.

LDC for Windows relies on the Microsoft linker. So you'll either need Visual Studio (2015 is greatly encouraged; 2013 works too if you build LDC yourself) with Visual C++, or the stand-alone Visual C++ Build Tools.

Building from source

In-depth material on building and installing LDC and the standard libraries is available on the project wiki for Linux and OS X and Windows.

If you have a working C++ build environment, CMake, and a current LLVM (>= 3.5) available, there should be no big surprises. Building LDC also requires a working D compiler, DMD and LDC are supported. (LDC 0.17 is the last version that does not need a D compiler, and for that reason we try to maintain it in the 'ltsmaster' branch).

Do not forget to make sure all the submodules (druntime, phobos, dmd-testsuite) are up to date:

$ cd ldc
$ git submodule update --recursive --init

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 our Gitter chat. There is also 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!

ldc's People

Contributors

dnadlinger avatar redstar avatar kinke avatar lindquist avatar ckamm avatar johanengelen avatar alexeyprokhin avatar rainers avatar wilsonk avatar smolt avatar mwarning avatar d0k avatar mrmonday avatar llucax avatar trass3r avatar bioinfornatics avatar jkrempus avatar rtbo avatar eldar avatar lemonboy avatar deewiant avatar servis avatar syniurge avatar sa111 avatar sgraf812 avatar hardcode84 avatar joakim-noah avatar kevinbrogan avatar webdrake avatar dmakarov avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.