view python/ppci/frontends/ks/builtin.py @ 110:9e552d34bd60

Work on compiler
author Windel Bouwman
date Fri, 04 Jan 2013 15:25:58 +0100
parents 63937c8d1478
children
line wrap: on
line source

from .nodes import *

boolean = BaseType('boolean', 8)
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))