val manager = new javax.script.ScriptEngineManager
val engine = manager.getEngineByName("scas")
import engine.eval
assert(eval("x+x").toString == "2x")
assert(eval("1").toString == "1")
assert(eval("1+x").toString == "1x")
assert(eval("1/4").toString == "14")