Mercurial > hg > Members > kono > compiler-examples
view input.txt @ 16:5b631c16f89b
llvm output
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 02 Nov 2012 14:04:35 +0900 |
parents | 6bf66c125dbc |
children |
line wrap: on
line source
1 1+2 // expr 2*3 // mexpr 1+(2*3) // term 1+2*3 // expr order -1+0x10*010 // token (0xff&07)|0x100 // logical expression 100/10 a=1*3 b=2*3 a+b a=(b=3<<2) a>>1 b 1==1 1==0x10 b==a b==a?-a:b+1 b!=a?-a:b+1 !(b+1>a)?-a:b+1 !(b+1<a)?-a:b+1