Mercurial > projects > dil
annotate release.py @ 810:525ee3f848d9
Added modules cmd.Compile and dil.ModuleManager.
Added options -I, -release and -unittest to the compile command.
Tidied main.d up a bit.
Renamed start() methods of SemanticPass1 and 2 to run().
Moved function findModuleFilePath() to class ModuleManager.
Added msg CouldntLoadModule. Corrected two others.
Added member semanticPass to class Module.
Implemented visit(ImportDeclaration) in SemanticPass1.
author | Aziz K?ksal <aziz.koeksal@gmail.com> |
---|---|
date | Tue, 11 Mar 2008 02:48:01 +0100 |
parents | a2880c95eda3 |
children |
rev | line source |
---|---|
807
a2880c95eda3
Refactored ddoc command.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
806
diff
changeset
|
1 #! /usr/bin/python |
804
9e6c6bb73e5f
Implemented visit methods for some type nodes.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
diff
changeset
|
2 # -*- coding: utf-8 -*- |
9e6c6bb73e5f
Implemented visit methods for some type nodes.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
diff
changeset
|
3 # Author: Aziz Köksal |
9e6c6bb73e5f
Implemented visit methods for some type nodes.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
diff
changeset
|
4 |
9e6c6bb73e5f
Implemented visit methods for some type nodes.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
diff
changeset
|
5 # TODO: port release.sh to Python |
9e6c6bb73e5f
Implemented visit methods for some type nodes.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
diff
changeset
|
6 |
807
a2880c95eda3
Refactored ddoc command.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
806
diff
changeset
|
7 if __name__ == '__main__': |
a2880c95eda3
Refactored ddoc command.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
806
diff
changeset
|
8 print "DIL" |
a2880c95eda3
Refactored ddoc command.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
806
diff
changeset
|
9 |
804
9e6c6bb73e5f
Implemented visit methods for some type nodes.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
diff
changeset
|
10 # TODO: write subcommand that creates a Makefile |
9e6c6bb73e5f
Implemented visit methods for some type nodes.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
diff
changeset
|
11 def writeMakefile(): |
9e6c6bb73e5f
Implemented visit methods for some type nodes.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
diff
changeset
|
12 pass |