Mercurial > lcfOS
comparison python/ppci/frontends/ks/builtin.py @ 102:63937c8d1478
Fixes and start with ir generator
author | windel |
---|---|
date | Tue, 25 Dec 2012 11:11:24 +0100 |
parents | python/ppci/builtin.py@a350055d6119 |
children | 9e552d34bd60 |
comparison
equal
deleted
inserted
replaced
101:af0d7913677a | 102:63937c8d1478 |
---|---|
1 from .nodes import * | |
2 | |
3 boolean = BaseType('boolean', 8) # Choose: 1 or 8 bytes? | |
4 integer = BaseType('integer', 8) | |
5 real = BaseType('real', 8) | |
6 char = BaseType('char', 1) | |
7 void = BaseType('void', 0) | |
8 | |
9 chr_func = BuiltinProcedure('chr', ProcedureType([Parameter('value', 'x', integer)], char)) | |
10 |