Mercurial > hg > Members > kono > compiler-examples
view s-input.txt @ 27:c4e2ca100ab9 default tip
llvm worked
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 25 Oct 2024 17:10:11 +0900 |
parents | 6bf66c125dbc |
children |
line wrap: on
line source
1 1+2 // expr 2*3 // mexpr 1+(2*3) // term 1-(2-3) // association 1-2-3 // association 1+2*3 // expr order 3*2-3 // expr order 1+10*10 // token (2+1030/2)-2 (255*07)+256 // logical expression 0+(1+(2+(3+(4+(5+(6+(7+8)))))))-(0+(1+(2+(3+(4+(5+(6+(7+8)))))))) 100/10 a=1*3 b=2*3 a+b a=(b=3*2) a>1 b b>a