Mercurial > lcfOS
view python/ppci/__init__.py @ 158:9683a4cd848f
Added some functions for code generation
author | Windel Bouwman |
---|---|
date | Fri, 08 Mar 2013 16:52:44 +0100 |
parents | b73bc14a3aa3 |
children | 6b2bec5653f1 |
line wrap: on
line source
# File to make this directory a package. import sys version = '0.0.1' # Assert python version: if sys.version_info.major != 3: print("Needs to be run in python version 3.x") sys.exit(1) from .common import SourceLocation, SourceRange from .errors import CompilerError, DiagnosticsManager from .errors import printError