Mercurial > hg > Members > kono > compiler-examples
annotate input.txt @ 0:6bf66c125dbc
Initial revision
author | kono |
---|---|
date | Fri, 05 Nov 2004 14:07:59 +0900 |
parents | |
children |
rev | line source |
---|---|
0 | 1 1 |
2 1+2 // expr | |
3 2*3 // mexpr | |
4 1+(2*3) // term | |
5 1+2*3 // expr order | |
6 -1+0x10*010 // token | |
7 (0xff&07)|0x100 // logical expression | |
8 100/10 | |
9 a=1*3 | |
10 b=2*3 | |
11 a+b | |
12 a=(b=3<<2) | |
13 a>>1 | |
14 b | |
15 1==1 | |
16 1==0x10 | |
17 b==a | |
18 b==a?-a:b+1 | |
19 b!=a?-a:b+1 | |
20 !(b+1>a)?-a:b+1 | |
21 !(b+1<a)?-a:b+1 |