view applications/ide/compiler/builtin.py @ 61:6fa41208a3a8

Rework into windowed system
author windel
date Wed, 02 May 2012 07:50:35 +0200
parents 600f48b74799
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))