view python/ppci/__init__.py @ 334:6f4753202b9a

Added more recipes
author Windel Bouwman
date Thu, 13 Feb 2014 22:02:08 +0100
parents a78b41ff6ad2
children d1ecc493384e
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, Token
from .common import CompilerError, DiagnosticsManager

logformat='%(asctime)s|%(levelname)s|%(name)s|%(message)s'