Mercurial > projects > dil
changeset 832:80eb3251e010
Updated to Tango 0.99.7.
author | Aziz K?ksal <aziz.koeksal@gmail.com> |
---|---|
date | Fri, 25 Jul 2008 15:17:07 +0200 |
parents | c60bd5cd61da |
children | a3d1d5d5ce44 |
files | README src/cmd/Highlight.d src/cmd/ImportGraph.d src/dil/ModuleManager.d src/dil/semantic/Module.d src/dil/semantic/Pass1.d src/main.d |
diffstat | 7 files changed, 14 insertions(+), 14 deletions(-) [+] |
line wrap: on
line diff
--- a/README Sun Jul 20 01:23:43 2008 +0200 +++ b/README Fri Jul 25 15:17:07 2008 +0200 @@ -6,25 +6,25 @@ Description =========== -This software is a compiler written in D for the D programming language. +This software is a compiler written in D 1.0 for the D programming language. How To Compile dil ================== In order to compile dil you need to have: - *) DMD 1.030 (http://www.digitalmars.com/d/1.0/changelog.html) - *) Tango 0.99.6 (http://dsource.org/projects/tango/) + *) DMD 1.033 (http://www.digitalmars.com/d/1.0/changelog.html) + *) Tango 0.99.7 (http://dsource.org/projects/tango/) *) DSSS 0.75 (http://dsource.org/projects/dsss/) If you can't compile dil because you have a newer version of these programs -then please report the problem to me (see Bugs section.) +then report the problem to me please (see Bugs section.) Regarding DSSS 0.75: On Posix systems a correction in dsss/etc/rebuild/dmd-posix-tango is -required. In the [link] section, remove "-L-lphobos" from the cmd option +required. In the "[link]" section, remove "-L-lphobos" from the cmd option in order to avoid symbol conflicts. Before you run dil, make sure that the executable can find config.d and -lang_en.d (which are located in trunk/src/.) +lang_en.d (which are located in "<dil>/src/".) The language of the compiler messages can be configured in config.d. (Please, note that many messages are still untranslated.)
--- a/src/cmd/Highlight.d Sun Jul 20 01:23:43 2008 +0200 +++ b/src/cmd/Highlight.d Fri Jul 25 15:17:07 2008 +0200 @@ -19,7 +19,7 @@ import Settings; import common; -import tango.io.GrowBuffer; +import tango.io.Buffer; import tango.io.Print; /// The highlight command.
--- a/src/cmd/ImportGraph.d Sun Jul 20 01:23:43 2008 +0200 +++ b/src/cmd/ImportGraph.d Fri Jul 25 15:17:07 2008 +0200 @@ -16,7 +16,7 @@ import tango.text.Regex : RegExp = Regex; import tango.io.FilePath; -import tango.io.FileConst; +import tango.io.model.IFile; import tango.text.Util; alias FileConst.PathSeparatorChar dirSep;
--- a/src/dil/ModuleManager.d Sun Jul 20 01:23:43 2008 +0200 +++ b/src/dil/ModuleManager.d Fri Jul 25 15:17:07 2008 +0200 @@ -13,7 +13,7 @@ import tango.io.FilePath; import tango.io.FileSystem; -import tango.io.FileConst; +import tango.io.model.IFile; alias FileConst.PathSeparatorChar dirSep;
--- a/src/dil/semantic/Module.d Sun Jul 20 01:23:43 2008 +0200 +++ b/src/dil/semantic/Module.d Fri Jul 25 15:17:07 2008 +0200 @@ -18,7 +18,7 @@ import common; import tango.io.FilePath; -import tango.io.FileConst; +import tango.io.model.IFile; alias FileConst.PathSeparatorChar dirSep;
--- a/src/dil/semantic/Pass1.d Sun Jul 20 01:23:43 2008 +0200 +++ b/src/dil/semantic/Pass1.d Fri Jul 25 15:17:07 2008 +0200 @@ -26,7 +26,7 @@ import dil.CompilerInfo; import common; -import tango.io.FileConst; +import tango.io.model.IFile; alias FileConst.PathSeparatorChar dirSep; /// The first pass is the declaration pass.
--- a/src/main.d Sun Jul 20 01:23:43 2008 +0200 +++ b/src/main.d Fri Jul 25 15:17:07 2008 +0200 @@ -458,7 +458,7 @@ --lines : print line numbers Example: - dil hl Parser.d --html --syntax > Parser.html`; + dil hl src/main.d --html --syntax > main.html`; break; case "importgraph", "igraph": // msg = GetMsg(MID.HelpImportGraph); @@ -510,7 +510,7 @@ Example: echo "module foo; void func(){}" | dil tok - - dil tok main.d | grep ^[0-9]`; + dil tok src/main.d | grep ^[0-9]`; break; case "stats", "statistics": msg = "Gather statistics about D source files. @@ -522,7 +522,7 @@ --asttable : print the count of all kinds of nodes in a table. Example: - dil stat src/dil/Parser.d src/dil/Lexer.d"; + dil stat src/main.d src/dil/Unicode.d"; break; case "trans", "translate": msg = `Translate a D source file to another language.