Mercurial > lcfOS
view python/ppci/__init__.py @ 212:62386bcee1ba
Added parser combinator lib
author | Windel Bouwman |
---|---|
date | Sun, 30 Jun 2013 19:00:41 +0200 |
parents | 6b2bec5653f1 |
children | 534b94b40aa8 |
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 .errors import CompilerError, DiagnosticsManager from .errors import printError