A compiler for D written in D.
To use this package, run the following command in your project's root directory:
Put the following dependency into your project's dependences section:
Copyright (c) 2007-2014 by Aziz Köksal firstname.lastname@example.org This program is free software, licensed under the GPL3. Please, read the license file "COPYING" for further information.
This software is a command line utility, a compiler written in D v2 for the D programming language supporting versions 1.0 and 2.0.
- Doc gen:
[░░ 20% ]
- Code gen:
[ 0% ]
Download and install from:
- *.deb files for Debian-based Linux distributions.
- Compressed archives.
After extracting an archive, you can simply run DIL. No extra configuration needed (except, you might want to add the binary dir to your PATH variable.)
Not available yet:
- Windows installer.
If you are interested in contributing code to this project, you have to be in agreement with two conditions:
- You must adhere to the coding guidelines.
- Code that you submit is considered to be under a liberal/compatible license. For now, this license is "Public Domain" until I think of a more suitable and agreeable one very soon. This allows me to possibly change the license of the whole project in the future without having to ask every single person for permission. Reasonable exceptions can be made.
How To Compile DIL
In order to compile DIL you must have:
Newer versions of these tools may not compile DIL. The newest version of DMD or Tango is not always used, because of regressions or unavoidable bugs.
Compile With Python
Note: The binary is placed in the bin/ folder.
Change to the root directory of DIL. E.g.:
$ cd git/dil/
$ scripts/build.py -h
Compile a release binary.
Compile a debug binary.
$ scripts/build.py --debug
Pass additional parameters to the compiler like this:
$ scripts/build.py -- -L-L/path/to/Tango/lib -L-ltango-dmd
On Windows you probably have to call python explicitly.
Run like this:
- On Linux:
- On Windows:
Executing DIL without parameters will print the main help message.
The language of the compiler messages can be set in the configuration file. Many messages are still untranslated. This task has low priority at the moment.
Bugs And Patches
Users can report problems with this software or submit patches by: