Import version 1.0 revision 2010.0721 sources (just HTML fixes.)
Cat's Eye Technologies
10 years ago
0 | <html> | |
0 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
1 | <html xmlns="http://www.w3.org/1999/xhtml" lang="en"> | |
1 | 2 | <head> |
3 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
2 | 4 | <title>The Larabee Programming Language</title> |
3 | 5 | </head> |
4 | 6 | <body> |
76 | 78 | <p><code>test</code> is the lynchpin upon which Larabee's entire |
77 | 79 | notableness, if any, rests.</p> |
78 | 80 | |
79 | <!-- | |
80 | ||
81 | Now. The semantics of test are as follows: | |
82 | ||
83 | Evaluate cond to a boolean. | |
84 | If cond is 'true', increment the BPR. | |
85 | If cond is 'false', decrement the BPR. | |
86 | If the BPR is greater than or equal to 0 { | |
87 | If cond is 'true', evaluate part-a. | |
88 | If cond is 'false', evaluate part-b. | |
89 | } | |
90 | Else if the BPR is less than 0 { | |
91 | If cond is 'true', evaluate part-b. | |
92 | If cond is 'false', evaluate part-a. | |
93 | } | |
94 | ||
95 | An alternate semantics for test are as follows: | |
96 | ||
97 | Evaluate cond to a boolean. | |
98 | ||
99 | --> | |
100 | ||
101 | 81 | </li> |
102 | 82 | |
103 | 83 | <li><code>(input)</code> |