Mercurial > lcfOS
comparison python/c3/codegenerator.py @ 287:1c7c1e619be8
File movage
author | Windel Bouwman |
---|---|
date | Thu, 21 Nov 2013 11:57:27 +0100 |
parents | 02385f62f250 |
children | a747a45dcd78 |
comparison
equal
deleted
inserted
replaced
286:d9df72971cbf | 287:1c7c1e619be8 |
---|---|
1 import logging | 1 import logging |
2 import ir | 2 import ir |
3 from . import astnodes | 3 from . import astnodes |
4 from .scope import boolType, intType | 4 from .scope import boolType, intType |
5 from ppci import CompilerError | 5 from ppci import CompilerError |
6 from .typecheck import theType | 6 from .analyse import theType |
7 | 7 |
8 | 8 |
9 class CodeGenerator(ir.Builder): | 9 class CodeGenerator(ir.Builder): |
10 """ | 10 """ |
11 Generates intermediate (IR) code from a package. The entry function is | 11 Generates intermediate (IR) code from a package. The entry function is |