annotate python/ks/builtin.py @ 146:91af0e40f868

Moved several files
author Windel Bouwman
date Fri, 22 Feb 2013 10:31:58 +0100
parents python/ppci/frontends/ks/builtin.py@9e552d34bd60
children
rev   line source
1
92df07bc2081 Initial import of compiler
windel
parents:
diff changeset
1 from .nodes import *
92df07bc2081 Initial import of compiler
windel
parents:
diff changeset
2
110
9e552d34bd60 Work on compiler
Windel Bouwman
parents: 102
diff changeset
3 boolean = BaseType('boolean', 8)
1
92df07bc2081 Initial import of compiler
windel
parents:
diff changeset
4 integer = BaseType('integer', 8)
92df07bc2081 Initial import of compiler
windel
parents:
diff changeset
5 real = BaseType('real', 8)
92df07bc2081 Initial import of compiler
windel
parents:
diff changeset
6 char = BaseType('char', 1)
92df07bc2081 Initial import of compiler
windel
parents:
diff changeset
7 void = BaseType('void', 0)
92df07bc2081 Initial import of compiler
windel
parents:
diff changeset
8
92df07bc2081 Initial import of compiler
windel
parents:
diff changeset
9 chr_func = BuiltinProcedure('chr', ProcedureType([Parameter('value', 'x', integer)], char))
92df07bc2081 Initial import of compiler
windel
parents:
diff changeset
10