annotate ide/compiler/builtin.py @ 4:0d5ef85b8698
Improved link between ast viewer and code edit
author |
windel-eee |
date |
Wed, 21 Sep 2011 19:05:18 +0200 |
parents |
92df07bc2081 |
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
|