Mercurial > lcfOS
comparison python/ppci/compilers/kscompiler.py @ 100:fe145e42259d
Fixes after movage
author | windel |
---|---|
date | Mon, 24 Dec 2012 16:35:22 +0100 |
parents | 6efbeb903777 |
children | af0d7913677a |
comparison
equal
deleted
inserted
replaced
99:6efbeb903777 | 100:fe145e42259d |
---|---|
1 import hashlib | 1 import hashlib |
2 # Import compiler components: | 2 # Import compiler components: |
3 from ..frontends.ks import Parser | 3 from ..frontends.ks import KsParser |
4 from .codegenerator import CodeGenerator | 4 #from .codegenerator import CodeGenerator |
5 from .nodes import ExportedSymbol | 5 #from .nodes import ExportedSymbol |
6 from .errors import CompilerException | 6 #from .errors import CompilerException |
7 from .. import version | 7 #from .. import version |
8 version='0.0.1' | |
8 | 9 |
9 class KsCompiler: | 10 class KsCompiler: |
10 def __repr__(self): | 11 def __repr__(self): |
11 return 'LCFOS compiler {0}'.format(version) | 12 return 'LCFOS compiler {0}'.format(version) |
12 | 13 |