Mercurial > hg > graal-compiler
diff graal/com.oracle.truffle.sl.test/tests/CalcShell.input @ 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 | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/graal/com.oracle.truffle.sl.test/tests/CalcShell.input Wed Jan 29 20:45:43 2014 -0800 @@ -0,0 +1,15 @@ +i +80 +c +return cur + i; +r +c +if (i <= 2) { return 1; } else { return prev + cur; } +r +i +100 +r +c +if (i == 0) { return 1; } else { return cur * i; } +r +x