annotate ide/runide.py @ 27:7f74363f4c82

Added some files for the python port
author windel
date Tue, 27 Dec 2011 18:59:02 +0100
parents 92df07bc2081
children
rev   line source
1
92df07bc2081 Initial import of compiler
windel
parents:
diff changeset
1 import sys
92df07bc2081 Initial import of compiler
windel
parents:
diff changeset
2 from PyQt4.QtGui import QApplication
92df07bc2081 Initial import of compiler
windel
parents:
diff changeset
3
92df07bc2081 Initial import of compiler
windel
parents:
diff changeset
4 # Compiler imports:
92df07bc2081 Initial import of compiler
windel
parents:
diff changeset
5 from compiler.compiler import Compiler
92df07bc2081 Initial import of compiler
windel
parents:
diff changeset
6 from ide.ide import Ide
92df07bc2081 Initial import of compiler
windel
parents:
diff changeset
7
92df07bc2081 Initial import of compiler
windel
parents:
diff changeset
8 if __name__ == '__main__':
92df07bc2081 Initial import of compiler
windel
parents:
diff changeset
9 app = QApplication(sys.argv)
92df07bc2081 Initial import of compiler
windel
parents:
diff changeset
10 ide = Ide()
92df07bc2081 Initial import of compiler
windel
parents:
diff changeset
11 ide.compiler = Compiler()
92df07bc2081 Initial import of compiler
windel
parents:
diff changeset
12 ide.show()
92df07bc2081 Initial import of compiler
windel
parents:
diff changeset
13 app.exec_()
92df07bc2081 Initial import of compiler
windel
parents:
diff changeset
14