Coder Social home page Coder Social logo

dil's Introduction

=DIL=
Copyright (c) 2007-2011 by Aziz Köksal <[email protected]>
This program is free software, licensed under the GPL3.
Please, read the license file "COPYING" for further information.

==Description==
This software is a command line utility, a compiler written in D 1.0
for the D programming languages, version 1.0 and 2.0.

==How To Compile DIL==
In order to compile DIL you must have:
 *) DMD 1.063 (http://www.digitalmars.com/d/1.0/changelog.html)
 *) Tango 0.99.9 (http://dsource.org/projects/tango/)
 *) MPFR 3.0.0 (http://mpfr.org)
 *) Python 2.6.6 (2.5 might work too)
    (DSSS ist unmaintained and can't compile DIL anymore.)

If you can't compile DIL because you have newer versions of these programs
then report the problem to me, please (see Bugs section.)
I hope you won't find it frustrating to successfully compile this software,
and apologize if you do.

Regarding MPFR:
Windows users have to use Visual C/C++ or Cygwin in order to compile
the MPFR library for their system. Precompiled libraries are available here:

  http://holoborodko.com/pavel/downloads/win32_gmp_mpfr.zip

I have not tested compiling a Windows binary yet. DIL should compile
if you put one of the debug or release mpfr.lib files into a path
where the linker can find them. E.g.: pass the following to build.py:
  > python scripts\build.py -- -L+mpfr.lib -L+C:\downloads\mpfr\Win32\Release\


==Compile DIL with Python==
# Note: The binary is placed in the bin/ folder.

# Change to the root directory of DIL. E.g.:
  $ cd git/dil/
# Print help.
  $ scripts/build.py -h
# Compile a release binary.
  $ scripts/build.py
# Compile a debug binary.
  $ scripts/build.py --debug
# Pass additional parameters to the compiler like this:
  $ scripts/build.py -- -unittest

# On Windows you probably have to call python explicitly.
  > python scripts\build.py

# Run like this:
# On Linux:
  $ bin/dil
# On Windows:
  > bin\dil.exe

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==
"errare humanum est, ignoscere divinum" - to err is human, to forgive divine.
 - Cicero

Users can report problems with this software or submit patches by:
 *) contacting me: [email protected]
 *) filing a bug report here: http://code.google.com/p/dil/issues/list

dil's People

Contributors

azizk avatar miasma avatar dnadlinger avatar jarrettbillingsley avatar mwarning avatar

Stargazers

oopos avatar

Watchers

oopos avatar James Cloos 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.