Mercurial > hg > truffle
view truffle/com.oracle.truffle.sl.test/src/tests/Eval.sl @ 22408:fecae2501987
SL: refine interop eval, rename to just eval, and add tests.
author | Chris Seaton <chris.seaton@oracle.com> |
---|---|
date | Sun, 22 Nov 2015 19:10:51 +0000 |
parents | |
children |
line wrap: on
line source
function main() { eval("application/x-sl", "function foo() { return 14 + 2; }"); println(foo()); }