annotate python/libs/compiler/builtin.py @ 63:32078200cdd6

Several move action
author windel
date Sun, 07 Oct 2012 17:04:10 +0200
parents python/ide/compiler/builtin.py@fd7d5069734e
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
92df07bc2081 Initial import of compiler
windel
parents:
diff changeset
3 boolean = BaseType('boolean', 8) # Choose: 1 or 8 bytes?
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