Mercurial > lcfOS
comparison python/ppci/frontends/ks/parser.py @ 102:63937c8d1478
Fixes and start with ir generator
author | windel |
---|---|
date | Tue, 25 Dec 2012 11:11:24 +0100 |
parents | af0d7913677a |
children | f2d980eef509 |
comparison
equal
deleted
inserted
replaced
101:af0d7913677a | 102:63937c8d1478 |
---|---|
3 """ | 3 """ |
4 | 4 |
5 from .symboltable import SymbolTable | 5 from .symboltable import SymbolTable |
6 from .nodes import * | 6 from .nodes import * |
7 from ...core.errors import CompilerException, Error | 7 from ...core.errors import CompilerException, Error |
8 #from .builtin import * | 8 from .builtin import * |
9 #from . import assembler | 9 #from . import assembler |
10 from .lexer import tokenize | 10 from .lexer import tokenize |
11 | 11 |
12 class KsParser: | 12 class KsParser: |
13 def __init__(self, source): | 13 def __init__(self, source): |