Mercurial > hg > graal-compiler
comparison graal/com.oracle.truffle.sl.test/tests/Add.sl @ 13821:b16ec83edc73
Documentation and more refactoring of Simple Language
author | Christian Wimmer <christian.wimmer@oracle.com> |
---|---|
date | Wed, 29 Jan 2014 20:45:43 -0800 |
parents | e34d5cca7496 |
children |
comparison
equal
deleted
inserted
replaced
13820:20e7727588e8 | 13821:b16ec83edc73 |
---|---|
1 function main() { | 1 function main() { |
2 print(3 + 4); | 2 println(3 + 4); |
3 print(3 + "4"); | 3 println(3 + "4"); |
4 print("3" + 4); | 4 println("3" + 4); |
5 print("3" + "4"); | 5 println("3" + "4"); |
6 print(3 + 4000000000000); | 6 println(3 + 4000000000000); |
7 print(3000000000000 + 4); | 7 println(3000000000000 + 4); |
8 print(3000000000000 + 4000000000000); | 8 println(3000000000000 + 4000000000000); |
9 } | 9 } |