Mercurial > repos > rhope
comparison kernel.rhope @ 48:a24eb366195c
Fixed some bugs introduced in previous commit and moved definition of integer methods out of runtime and into the compiler
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Tue, 02 Mar 2010 00:18:49 -0500 |
parents | |
children | 3e20ed8959c4 |
comparison
equal
deleted
inserted
replaced
47:6202b866d72c | 48:a24eb366195c |
---|---|
1 | |
2 Blueprint Boolean | |
3 { | |
4 Val(Int32,Naked) | |
5 } | |
6 | |
7 Blueprint Int32 | |
8 { | |
9 Num(Int32,Naked) | |
10 } | |
11 | |
12 If@Int32[num:yes,no] | |
13 { | |
14 yes,no <- If[[num]=[0]] | |
15 } | |
16 | |
17 Blueprint Int16 | |
18 { | |
19 Num(Int16,Naked) | |
20 } | |
21 | |
22 If@Int16[num:yes,no] | |
23 { | |
24 yes,no <- If[[num]=[0]] | |
25 } | |
26 | |
27 Blueprint Int8 | |
28 { | |
29 Num(Int8,Naked) | |
30 } | |
31 | |
32 If@Int8[num:yes,no] | |
33 { | |
34 yes,no <- If[[num]=[0]] | |
35 } | |
36 | |
37 Blueprint UInt32 | |
38 { | |
39 Num(UInt32,Naked) | |
40 } | |
41 | |
42 If@UInt32[num:yes,no] | |
43 { | |
44 yes,no <- If[[num]=[0]] | |
45 } | |
46 | |
47 Blueprint UInt16 | |
48 { | |
49 Num(UInt16,Naked) | |
50 } | |
51 | |
52 If@UInt16[num:yes,no] | |
53 { | |
54 yes,no <- If[[num]=[0]] | |
55 } | |
56 | |
57 Blueprint UInt8 | |
58 { | |
59 Num(UInt8,Naked) | |
60 } | |
61 | |
62 If@UInt8[num:yes,no] | |
63 { | |
64 yes,no <- If[[num]=[0]] | |
65 } | |
66 | |
67 |