# HG changeset patch # User Aziz K?ksal # Date 1216991827 -7200 # Node ID 80eb3251e010fe44b000fa49e3fa31616d52860e # Parent c60bd5cd61da04b45cfe8430e8585a7d1cb5ea2f Updated to Tango 0.99.7. diff -r c60bd5cd61da -r 80eb3251e010 README --- 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 "/src/".) The language of the compiler messages can be configured in config.d. (Please, note that many messages are still untranslated.) diff -r c60bd5cd61da -r 80eb3251e010 src/cmd/Highlight.d --- 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. diff -r c60bd5cd61da -r 80eb3251e010 src/cmd/ImportGraph.d --- 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; diff -r c60bd5cd61da -r 80eb3251e010 src/dil/ModuleManager.d --- 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; diff -r c60bd5cd61da -r 80eb3251e010 src/dil/semantic/Module.d --- 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; diff -r c60bd5cd61da -r 80eb3251e010 src/dil/semantic/Pass1.d --- 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. diff -r c60bd5cd61da -r 80eb3251e010 src/main.d --- 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.