Mercurial > repos > rhope
comparison runtime/builtin.h @ 30:914ad38f9b59
Compiler now works for some simple programs
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Mon, 28 Sep 2009 19:42:33 -0400 |
parents | 31f8182f3433 |
children | 495dddadd058 |
comparison
equal
deleted
inserted
replaced
29:3cc5e4a42344 | 30:914ad38f9b59 |
---|---|
1 #ifndef _BUILTIN_H_ | 1 #ifndef _BUILTIN_H_ |
2 #define _BUILTIN_H_ | 2 #define _BUILTIN_H_ |
3 #include "plat_types.h" | 3 #include "plat_types.h" |
4 | |
5 #include "object.h" | |
6 #include "func.h" | |
4 | 7 |
5 //Builtin Types | 8 //Builtin Types |
6 enum { | 9 enum { |
7 TYPE_UINT8 = 1, | 10 TYPE_UINT8 = 1, |
8 TYPE_UINT16, | 11 TYPE_UINT16, |
41 }; | 44 }; |
42 | 45 |
43 void register_builtin_types(); | 46 void register_builtin_types(); |
44 void register_builtin_type(uint32_t type); | 47 void register_builtin_type(uint32_t type); |
45 | 48 |
49 //TODO: Remove this when it's possible to write Print in Rhope | |
50 FuncDef(Print) | |
51 | |
46 #endif //_BUILTIN_H_ | 52 #endif //_BUILTIN_H_ |