Mercurial > lcfOS
comparison applications/ide/compiler/builtin.py @ 39:600f48b74799
Move ide
author | windel |
---|---|
date | Fri, 03 Feb 2012 18:40:43 +0100 |
parents | ide/compiler/builtin.py@92df07bc2081 |
children |
comparison
equal
deleted
inserted
replaced
38:a1c9c2158e99 | 39:600f48b74799 |
---|---|
1 from .nodes import * | |
2 | |
3 boolean = BaseType('boolean', 8) # Choose: 1 or 8 bytes? | |
4 integer = BaseType('integer', 8) | |
5 real = BaseType('real', 8) | |
6 char = BaseType('char', 1) | |
7 void = BaseType('void', 0) | |
8 | |
9 chr_func = BuiltinProcedure('chr', ProcedureType([Parameter('value', 'x', integer)], char)) | |
10 |