view python/libs/compiler/builtin.py @ 88:f3fe557be5ed

Split off of items to reduce file size
author windel
date Tue, 27 Nov 2012 18:00:13 +0100
parents 32078200cdd6
children
line wrap: on
line source

from .nodes import *

boolean = BaseType('boolean', 8) # Choose: 1 or 8 bytes?
integer = BaseType('integer', 8)
real = BaseType('real', 8)
char = BaseType('char', 1)
void = BaseType('void', 0)

chr_func = BuiltinProcedure('chr', ProcedureType([Parameter('value', 'x', integer)], char))