!7 p-exp { S code = [[formatDouble(parseDouble($x) + parseDouble($y), 2)]]; L tok = javaTok(code); new LinkedHashSet vars; for (int i = 1; i < l(tok); i += 2) { S t = tok.get(i); if (isDollarVar(t)) vars.add(t); } temp tempSetThreadLocal(evalJava_prep_args, joinWithComma(map(func(S var) -> S { "S " + var }, vars))); S src = evalJava_prep(code); printIndent(src); O c = evalJava_prep2(src); assertEqualsVerbose("3.8", call(c, 'calc, "1.5", "2.3")); }