Mercurial > hg > graal-compiler
diff graal/com.oracle.truffle.sl.test/src/com/oracle/truffle/sl/test/AddTest.java @ 12752:71991b7a0f14
SL: Enhanced SimpleLanguage with support for if statements, function calls, function caching + inlining and builtins.
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Mon, 11 Nov 2013 21:34:44 +0100 |
parents | 07f8d136a05e |
children |
line wrap: on
line diff
--- a/graal/com.oracle.truffle.sl.test/src/com/oracle/truffle/sl/test/AddTest.java Thu Nov 07 20:55:13 2013 +0100 +++ b/graal/com.oracle.truffle.sl.test/src/com/oracle/truffle/sl/test/AddTest.java Mon Nov 11 21:34:44 2013 +0100 @@ -29,13 +29,13 @@ private static String[] INPUT = new String[] { "function main { ", - " print 3 + 4; ", - " print 3 + \"4\"; ", - " print \"3\" + 4; ", - " print \"3\" + \"4\"; ", - " print 3 + 4000000000000; ", - " print 3000000000000 + 4; ", - " print 3000000000000 + 4000000000000; ", + " print(3 + 4); ", + " print(3 + \"4\"); ", + " print(\"3\" + 4); ", + " print(\"3\" + \"4\"); ", + " print(3 + 4000000000000); ", + " print(3000000000000 + 4); ", + " print(3000000000000 + 4000000000000); ", "} ", };