annotate python/ppci/frontends/ks/builtin.py @ 124:d38729d35c4d
stm32f4discovery flash with python
New implementation of hexfile viewer
author |
Windel Bouwman |
date |
Sat, 12 Jan 2013 15:43:10 +0100 |
parents |
9e552d34bd60 |
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
|