Mercurial > lcfOS
view ide/compiler/builtin.py @ 5:818f80afa78b
Added handy highlighting to IDE
author | windel-eee |
---|---|
date | Thu, 22 Sep 2011 17:44:31 +0200 |
parents | 92df07bc2081 |
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))