Mercurial > lcfOS
annotate python/ks/builtin.py @ 198:33d50727a23c
Fixup testscript
author | Windel Bouwman |
---|---|
date | Sat, 01 Jun 2013 13:11:22 +0200 |
parents | 91af0e40f868 |
children |
rev | line source |
---|---|
1 | 1 from .nodes import * |
2 | |
110 | 3 boolean = BaseType('boolean', 8) |
1 | 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 |