Mercurial > lcfOS
annotate python/libs/compiler/builtin.py @ 71:5351594349b0
Moved error to core
author | windel |
---|---|
date | Fri, 02 Nov 2012 14:05:00 +0100 |
parents | 32078200cdd6 |
children |
rev | line source |
---|---|
1 | 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 |