This content has been marked as final. Show 3 replies
Interesting. BeanShell looks neat. But aside from invoking an outside tool, there's no native way to do this. You'd have to parse it according to the rules of the grammar that the if statement conforms to, and then write java code to execute it.
Just please tell me you're not writing a MUMPS interpreter.
haha, I am working on a mumps interpreter. Why do you sound so surprised?