annotate python/ks/builtin.py @ 182:e9b27f7193e3
Replace clear function by function also supported in python 3.2
author |
Windel Bouwman |
date |
Sat, 18 May 2013 18:24:42 +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
|